Java IO Tutorial - FileChannel Example








Method

  1. Java FileChannel.lock(long position, long size, boolean shared)
  2. Java FileChannel .map (FileChannel .MapMode mode, long position, long size)
  3. Java FileChannel.position()
  4. Java FileChannel.position(long newPosition)
  5. Java FileChannel.read(ByteBuffer dst)
  6. Java FileChannel.read(ByteBuffer dst, long position)
  7. Java FileChannel.size()
  8. Java FileChannel .transferFrom (ReadableByteChannel src, long position, long count)
  9. Java FileChannel.transferTo(long position, long count, WritableByteChannel target)
  10. Java FileChannel.tryLock()
  11. Java FileChannel.write(ByteBuffer src)