Ejemplo n.º 1
0
 /** @return The current position in the file */
 public long getFilePointer() {
   return channel.position();
 }
Ejemplo n.º 2
0
 /**
  * Seeks to position <tt>pos</tt> within the file.
  *
  * @param pos The position to which to seek
  * @throws IOException
  */
 public void seek(long pos) throws IOException {
   channel.position(pos);
 }