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

Quick Search    Search Deep

java.nio.channels
Interface ReadableByteChannel  view ReadableByteChannel download ReadableByteChannel.java

All Superinterfaces:
Channel
All Known Subinterfaces:
ByteChannel, ScatteringByteChannel
All Known Implementing Classes:
DatagramChannel, FileChannel, Pipe.SourceChannel, SocketChannel

public interface ReadableByteChannel
extends Channel


Method Summary
 int read(java.nio.ByteBuffer dst)
          Reads a sequence of bytes from this channel into the given buffer
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Method Detail

read

public int read(java.nio.ByteBuffer dst)
         throws java.io.IOException
Reads a sequence of bytes from this channel into the given buffer