Save This Page
Home » openjdk-7 » sun » nio » ch » [javadoc | source]
sun.nio.ch
class: IOUtil [javadoc | source]
java.lang.Object
   sun.nio.ch.IOUtil
File-descriptor based I/O utilities that are shared by NIO classes.
Method from sun.nio.ch.IOUtil Summary:
configureBlocking,   drain,   fdVal,   initIDs,   initPipe,   newFD,   randomBytes,   read,   read,   setfdVal,   write,   write
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.nio.ch.IOUtil Detail:
 static native  void configureBlocking(FileDescriptor fd,
    boolean blocking) throws IOException
 static native boolean drain(int fd) throws IOException
 static native int fdVal(FileDescriptor fd)
 static native  void initIDs()
 static native  void initPipe(int[] fda,
    boolean blocking)
 static FileDescriptor newFD(int i) 
 static native boolean randomBytes(byte[] someBytes)
 static long read(FileDescriptor fd,
    ByteBuffer[] bufs,
    NativeDispatcher nd) throws IOException 
 static int read(FileDescriptor fd,
    ByteBuffer dst,
    long position,
    NativeDispatcher nd,
    Object lock) throws IOException 
 static native  void setfdVal(FileDescriptor fd,
    int value)
 static long write(FileDescriptor fd,
    ByteBuffer[] bufs,
    NativeDispatcher nd) throws IOException 
 static int write(FileDescriptor fd,
    ByteBuffer src,
    long position,
    NativeDispatcher nd,
    Object lock) throws IOException