title: Java access to big file
body: <p>I am looking for an efficient way to create a file whose size is unknown but can range from mb's to gb's and fill its content randomly. I may write first 200 bytes than jump to the end and write last 200 bytes and move to the middle and write there. Is <code>RandomAccessFile</code> efficient for doing this or are there any alternatives better suited for this kind of job?</p>