Uses of Interface
java.nio.channels.WritableByteChannel
-
Packages that use WritableByteChannel 软件包 描述 java.nio.channels 定义通道,其表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。 -
-
Uses of WritableByteChannel in java.nio.channels
Subinterfaces of WritableByteChannel in java.nio.channels Modifier and Type 接口 描述 interfaceByteChannel一个可以读写字节的通道。interfaceGatheringByteChannel可以从缓冲区序列中写入字节的通道。interfaceSeekableByteChannel保持当前 位置并允许更改 位置的字节通道。Classes in java.nio.channels that implement WritableByteChannel Modifier and Type Class 描述 classDatagramChannel面向数据报的套接字的可选通道。classFileChannel用于读取,写入,映射和操作文件的通道。static classPipe.SinkChannelclassSocketChannel用于面向流的连接插座的可选通道。Methods in java.nio.channels that return WritableByteChannel Modifier and Type 方法 描述 static WritableByteChannelChannels. newChannel(OutputStream out)构造一个向给定流写入字节的通道。Methods in java.nio.channels with parameters of type WritableByteChannel Modifier and Type 方法 描述 static OutputStreamChannels. newOutputStream(WritableByteChannel ch)构造将字节写入给定通道的流。static WriterChannels. newWriter(WritableByteChannel ch, String csName)构造一个根据命名的字符集对字符进行编码的写入程序,并将生成的字节写入给定的通道。static WriterChannels. newWriter(WritableByteChannel ch, CharsetEncoder enc, int minBufferCap)构造一个使用给定编码器编码字符的写入器,并将生成的字节写入给定的通道。abstract longFileChannel. transferTo(long position, long count, WritableByteChannel target)Transfers bytes from this channel's file to the given writable byte channel.
-