Deleting bytes via RandomAccessFile possible?

There are quite a few threads in the forums discussing RandomAccessFile, but none seem to have the answer to this.

I want to modify an app I've written so that any changes made to the file are immediately written to the storage device.

Obviously I can write bytes into the file without issue, using RandomAccessFile. But is there any way I can delete bytes from the file?

I've scoured the other java.io classes, and can't find the functionality elsewhere.

[483 byte] By [KomodoDavea] at [2007-11-27 0:34:06]
# 1
Actually, thinking about it I'll have to rewrite the entire rest of the file anyway each time I insert bytes into the file, so I suppose deleting isn't an issue. I wish I'd realised this before I posted!
KomodoDavea at 2007-7-11 22:41:29 > top of Java-index,Core,Core APIs...