Save This Page
Home » openjdk-7 » sun » nio » ch » [javadoc | source]
sun.nio.ch
class: FileDispatcher [javadoc | source]
java.lang.Object
   sun.nio.ch.NativeDispatcher
      sun.nio.ch.FileDispatcher
Allows different platforms to call different native methods for read and write operations.
Method from sun.nio.ch.FileDispatcher Summary:
close,   close0,   closeByHandle,   pread,   pread0,   pwrite,   pwrite0,   read,   read0,   readv,   readv0,   write,   write0,   writev,   writev0
Methods from sun.nio.ch.NativeDispatcher:
close,   preClose,   pread,   pwrite,   read,   readv,   write,   writev
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.nio.ch.FileDispatcher Detail:
  void close(FileDescriptor fd) throws IOException 
 static native  void close0(FileDescriptor fd) throws IOException
 static native  void closeByHandle(long fd) throws IOException
 int pread(FileDescriptor fd,
    long address,
    int len,
    long position,
    Object lock) throws IOException 
 static native int pread0(FileDescriptor fd,
    long address,
    int len,
    long position) throws IOException
 int pwrite(FileDescriptor fd,
    long address,
    int len,
    long position,
    Object lock) throws IOException 
 static native int pwrite0(FileDescriptor fd,
    long address,
    int len,
    long position) throws IOException
 int read(FileDescriptor fd,
    long address,
    int len) throws IOException 
 static native int read0(FileDescriptor fd,
    long address,
    int len) throws IOException
 long readv(FileDescriptor fd,
    long address,
    int len) throws IOException 
 static native long readv0(FileDescriptor fd,
    long address,
    int len) throws IOException
 int write(FileDescriptor fd,
    long address,
    int len) throws IOException 
 static native int write0(FileDescriptor fd,
    long address,
    int len) throws IOException
 long writev(FileDescriptor fd,
    long address,
    int len) throws IOException 
 static native long writev0(FileDescriptor fd,
    long address,
    int len) throws IOException