インタフェース
java.nio.channels.ReadableByteChannelの使用
-
ReadableByteChannelを使用しているパッケージ パッケージ 説明 java.nio.channels 入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。java.util コレクション・フレームワーク、国際化サポート・クラス、サービス・ローダー、プロパティ、乱数生成、文字列解析とスキャン・クラス、Base64エンコーディングとデコード、ビット配列、およびその他のユーティリティ・クラスが含まれています。 -
-
java.nio.channelsでのReadableByteChannelの使用
java.nio.channelsでのReadableByteChannelのサブインタフェース 修飾子と型 インタフェース 説明 interface
ByteChannel
バイトの読み込みと書込みができるチャネルです。interface
ScatteringByteChannel
バッファ・シーケンスにバイトを読み込むことができるチャネルです。interface
SeekableByteChannel
現在の位置を保持し、位置の変更を許可するバイト・チャネルです。ReadableByteChannelを実装しているjava.nio.channelsのクラス 修飾子と型 クラス 説明 class
DatagramChannel
データグラム型ソケットの選択可能なチャネルです。class
FileChannel
ファイルの読み込み、書き込み、マッピング、操作用チャネルです。static class
Pipe.SourceChannel
Pipe
の読取り可能な終端を表すチャネルです。class
SocketChannel
ストリーム型接続ソケット用の選択可能チャネルです。ReadableByteChannelを返すjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 static ReadableByteChannel
Channels. newChannel(InputStream in)
指定されたストリームからバイトを読み取るチャネルを構築します。ReadableByteChannel型のパラメータを持つjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 static InputStream
Channels. newInputStream(ReadableByteChannel ch)
指定されたチャネルからバイトを読み取るストリームを構築します。static Reader
Channels. newReader(ReadableByteChannel ch, String csName)
指定文字セットに従って指定されたチャネルからバイトをデコードするリーダーを構築します。static Reader
Channels. newReader(ReadableByteChannel ch, Charset charset)
指定されたcharsetに従って、指定されたチャネルのバイトをデコードするリーダーを構築します。static Reader
Channels. newReader(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap)
指定されたデコーダを使って指定されたチャネルからバイトをデコードするリーダーを構築します。abstract long
FileChannel. transferFrom(ReadableByteChannel src, long position, long count)
指定された読込み可能なバイト・チャネルからこのチャネルのファイルへバイトを転送します。 -
java.utilでのReadableByteChannelの使用
ReadableByteChannel型のパラメータを持つjava.utilのコンストラクタ コンストラクタ 説明 Scanner(ReadableByteChannel source)
指定されたチャネルからスキャンされた値を生成する新しいScanner
を構築します。Scanner(ReadableByteChannel source, String charsetName)
指定されたチャネルからスキャンされた値を生成する新しいScanner
を構築します。Scanner(ReadableByteChannel source, Charset charset)
指定されたチャネルからスキャンされた値を生成する新しいScanner
を構築します。
-