Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.nio.channels
Interface GatheringByteChannel  view GatheringByteChannel download GatheringByteChannel.java

All Superinterfaces:
Channel, WritableByteChannel
All Known Implementing Classes:
DatagramChannel, FileChannel, Pipe.SinkChannel, SocketChannel

public interface GatheringByteChannel
extends WritableByteChannel


Method Summary
 long write(java.nio.ByteBuffer[] srcs)
          Writes a sequence of bytes to this channel from the given buffers
 long write(java.nio.ByteBuffer[] srcs, int offset, int length)
          Writes a sequence of bytes to this channel from a subsequence of the given buffers
 
Methods inherited from interface java.nio.channels.WritableByteChannel
write
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Method Detail

write

public long write(java.nio.ByteBuffer[] srcs,
                  int offset,
                  int length)
           throws java.io.IOException
Writes a sequence of bytes to this channel from a subsequence of the given buffers


write

public long write(java.nio.ByteBuffer[] srcs)
           throws java.io.IOException
Writes a sequence of bytes to this channel from the given buffers