title: Java: Replace part of file without writing the entire file again
body: <p>Is it possible to replace part of a files content, without rewriting the entire file to the disk.
  Say that i have a very large file of several gigabytes, how to i replace the bytes from, lets say position 100 to 200 without rewriting the entire file?</p>
  
  <p>As an added bonus, i need a solution that does not use any features never than java 1.4.</p>