Uses of Interface
java.nio.channels.ReadableByteChannel
-
Packages that use ReadableByteChannel 软件包 描述 java.nio.channels 定义通道,表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。java.util 包含集合框架,一些国际化支持类,服务加载器,属性,随机数生成,字符串解析和扫描类,base64编码和解码,位数组和几个其他实用程序类。 -
-
Uses of ReadableByteChannel in java.nio.channels
Subinterfaces of ReadableByteChannel in java.nio.channels 变量和类型 接口 描述 interfaceByteChannel一个可以读写字节的通道。interfaceScatteringByteChannel一个可以将字节读入缓冲区序列的通道。interfaceSeekableByteChannel一个字节通道,用于维护当前 位置并允许更改位置。Classes in java.nio.channels that implement ReadableByteChannel 变量和类型 类 描述 classDatagramChannel面向数据报的套接字的可选通道。classFileChannel用于读取,写入,映射和操作文件的通道。static classPipe.SourceChannelclassSocketChannel用于面向流的连接套接字的可选通道。Methods in java.nio.channels that return ReadableByteChannel 变量和类型 方法 描述 static ReadableByteChannelChannels. newChannel(InputStream in)构造一个从给定流中读取字节的通道。Methods in java.nio.channels with parameters of type ReadableByteChannel 变量和类型 方法 描述 static InputStreamChannels. newInputStream(ReadableByteChannel ch)构造一个从给定通道读取字节的流。static ReaderChannels. newReader(ReadableByteChannel ch, String csName)构造一个读取器,根据指定的字符集解码来自给定通道的字节。static ReaderChannels. newReader(ReadableByteChannel ch, Charset charset)构造一个读取器,根据给定的字符集解码给定通道的字节。static ReaderChannels. newReader(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap)构造一个读取器,使用给定的解码器解码来自给定通道的字节。abstract longFileChannel. transferFrom(ReadableByteChannel src, long position, long count)从给定的可读字节通道将字节传输到此通道的文件中。 -
Uses of ReadableByteChannel in java.util
Constructors in java.util with parameters of type ReadableByteChannel 构造器 描述 Scanner(ReadableByteChannel source)构造一个新的Scanner,它可以生成从指定通道扫描的值。Scanner(ReadableByteChannel source, String charsetName)构造一个新的Scanner,它可以生成从指定通道扫描的值。Scanner(ReadableByteChannel source, Charset charset)构造一个新的Scanner,它可以生成从指定通道扫描的值。
-