Save This Page
Home » openjdk-7 » sun » nio » ch » [javadoc | source]
sun.nio.ch
public class: FileChannelImpl [javadoc | source]
java.lang.Object
   java.nio.channels.spi.AbstractInterruptibleChannel
      java.nio.channels.FileChannel
         sun.nio.ch.FileChannelImpl

All Implemented Interfaces:
    ScatteringByteChannel, GatheringByteChannel, ByteChannel, InterruptibleChannel, Channel

Field Summary
public static final  int NO_LOCK     
public static final  int LOCKED     
public static final  int RET_EX_LOCK     
public static final  int INTERRUPTED     
Method from sun.nio.ch.FileChannelImpl Summary:
force,   implCloseChannel,   lock,   lock0,   map,   open,   position,   position,   read,   read,   read,   release,   release0,   size,   transferFrom,   transferTo,   truncate,   tryLock,   write,   write,   write
Methods from java.nio.channels.FileChannel:
force,   lock,   lock,   map,   position,   position,   read,   read,   read,   read,   size,   transferFrom,   transferTo,   truncate,   tryLock,   tryLock,   write,   write,   write,   write
Methods from java.nio.channels.spi.AbstractInterruptibleChannel:
close,   isOpen
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.nio.ch.FileChannelImpl Detail:
 public  void force(boolean metaData) throws IOException 
 protected  void implCloseChannel() throws IOException 
 public FileLock lock(long position,
    long size,
    boolean shared) throws IOException 
 native int lock0(FileDescriptor fd,
    boolean blocking,
    long pos,
    long size,
    boolean shared) throws IOException
 public MappedByteBuffer map(MapMode mode,
    long position,
    long size) throws IOException 
 public static FileChannel open(FileDescriptor fd,
    boolean readable,
    boolean writable,
    Object parent) 
 public long position() throws IOException 
 public FileChannel position(long newPosition) throws IOException 
 public int read(ByteBuffer dst) throws IOException 
 public int read(ByteBuffer dst,
    long position) throws IOException 
 public long read(ByteBuffer[] dsts,
    int offset,
    int length) throws IOException 
  void release(FileLockImpl fli) throws IOException 
 native  void release0(FileDescriptor fd,
    long pos,
    long size) throws IOException
 public long size() throws IOException 
 public long transferFrom(ReadableByteChannel src,
    long position,
    long count) throws IOException 
 public long transferTo(long position,
    long count,
    WritableByteChannel target) throws IOException 
 public FileChannel truncate(long size) throws IOException 
 public FileLock tryLock(long position,
    long size,
    boolean shared) throws IOException 
 public int write(ByteBuffer src) throws IOException 
 public int write(ByteBuffer src,
    long position) throws IOException 
 public long write(ByteBuffer[] srcs,
    int offset,
    int length) throws IOException