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

Interface GatheringByteChannel

java.lang.Object
|
+--java.nio.channels.Channel
   |
   +--java.nio.channels.WritableByteChannel
      |
      +--java.nio.channels.GatheringByteChannel

All Implemented Interfaces:

WritableByteChannel, Channel


public interface GatheringByteChannel

implements WritableByteChannel

Method Summary

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

Writes a sequence of bytes to this channel from a subsequence of the given buffers
longwrite(java.nio.ByteBuffer[] srcs)

Writes a sequence of bytes to this channel from the given buffers

Method Details

write

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

Writes a sequence of bytes to this channel from the given buffers

Parameters:

Throws:


write

public 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

Parameters:

Throws: