Dnia 08.09.2006 hshirani@gmail.com <hshirani@gmail.com> napisał/a:
> Hi,
>
[quoted text clipped - 4 lines]
> delete a file after do such a mapping? or read a file for regualr
> expressions without using MappedByteBuffer? Thaks for your help.
I don't get it, why would you want to start reading a file and while at it,
delete it ?
Are you trying to do this? :
- read a file into memory
- delete the file (it was probably a temporary one)
- do a multiline regexp search/replace on it
If so, then I would use StringBuilder and FileReader (or buffered one) to get
every character in a String, close the file, delete it and then do the regexp.

Signature
Kris Krason
www.coderookie.com - programming for newbies by noobs ;)
krisreviews.com - book reviews (computing, fantasy, science-fiction)