public native long getFilePointer () throws IOException

Returns the current offset in this file.

Returns:  the offset from the beginning of the file, in bytes, at which the next read or write occurs.

Exceptions:
IOException    if an I/O error occurs.