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

Quick Search    Search Deep

java.nio.channels
Interface ScatteringByteChannel  view ScatteringByteChannel download ScatteringByteChannel.java

All Superinterfaces:
Channel, ReadableByteChannel
All Known Implementing Classes:
DatagramChannel, FileChannel, Pipe.SourceChannel, SocketChannel

public interface ScatteringByteChannel
extends ReadableByteChannel


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

Method Detail

read

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


read

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