Future<RandomAccessFile> setPosition(int position)

Sets the byte position in the file. Returns a Future<RandomAccessFile> that completes with this RandomAccessFile when the position has been set.

Source

Future<RandomAccessFile> setPosition(int position);