I'm writing a text file. For reasons of convienience I use the PrintWriter object.
My problem is that at certain points during the file write operation I need to know
the current file pointer position. If this was a RandomAccessFile I would simply
do getFilePointer() method.
How do I know which byte position I'm at ? Is there another way of doing this ?