Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.nio.channels

Interface ScatteringByteChannel

java.lang.Object
|
+--java.nio.channels.Channel
   |
   +--java.nio.channels.ReadableByteChannel
      |
      +--java.nio.channels.ScatteringByteChannel

All Implemented Interfaces:

ReadableByteChannel, Channel


public interface ScatteringByteChannel

implements ReadableByteChannel

Method Summary

longread(java.nio.ByteBuffer[] srcs, int offset, int length)

Reads a sequence of bytes from this channel into a subsequence of the given buffers
longread(java.nio.ByteBuffer[] srcs)

Reads a sequence of bytes from this channel into the given buffers

Method Details

read

public long read(java.nio.ByteBuffer[] srcs)

Reads a sequence of bytes from this channel into the given buffers

Parameters:

Throws:


read

public 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

Parameters:

Throws: