Can i remove a particular part of a file?

I have a file. I want to remove a particular of that file. I have that Outputstream for that particular portion. How can i do it?Thanks
[149 byte] By [MAYAa] at [2007-11-27 7:38:23]
# 1
Your question is not totally clear. java.io.RandomAccessFile
BIJ001a at 2007-7-12 19:18:56 > top of Java-index,Java Essentials,Java Programming...
# 2
Read the entire file, write it out, and omit the part you don't want.
CeciNEstPasUnProgrammeura at 2007-7-12 19:18:56 > top of Java-index,Java Essentials,Java Programming...
# 3
use the bufferedinputstream to read the part of the file and write onto the same file using bufferedoutputstream or create a new file and write onto it.... simple.
@@CKM@@a at 2007-7-12 19:18:56 > top of Java-index,Java Essentials,Java Programming...