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 Modifier and Type 接口 描述 interfaceByteChannel一个可以读写字节的通道。interfaceScatteringByteChannel可以将字节读入缓冲区序列的通道。interfaceSeekableByteChannel保持当前 位置并允许更改 位置的字节通道。Classes in java.nio.channels that implement ReadableByteChannel Modifier and Type Class 描述 classDatagramChannel面向数据报的套接字的可选通道。classFileChannel用于读取,写入,映射和操作文件的通道。static classPipe.SourceChannelclassSocketChannel用于面向流的连接插座的可选通道。Methods in java.nio.channels that return ReadableByteChannel Modifier and Type 方法 描述 static ReadableByteChannelChannels. newChannel(InputStream in)构造从给定流读取字节的通道。Methods in java.nio.channels with parameters of type ReadableByteChannel Modifier and Type 方法 描述 static InputStreamChannels. newInputStream(ReadableByteChannel ch)构造从给定通道读取字节的流。static ReaderChannels. newReader(ReadableByteChannel ch, String csName)构造一个读取器,根据命名的字符集解码来自给定通道的字节。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 Constructor 描述 Scanner(ReadableByteChannel source)构造一个新的Scanner,产生从指定通道扫描的值。Scanner(ReadableByteChannel source, String charsetName)构造一个新的Scanner,产生从指定通道扫描的值。
-