Reader on top of RandomAccessFile

H

Harald Kirsch

I have here files with character strings in
different encodings mixed with binary data. In addition
I have to jump around the file with seek(). The latter
seems to indicate I have to use RandomAccessFile. After
having identified a section with the string data
and positioned the file pointer at its start, I would like
to read it with a Reader to take care of the character
encoding.

I could not find a combination of standard classes to
sandwich between a RandomAccessFile and the Reader, but
maybe I am just blind.

Do I have to implement my own Reader?

Thanks,
Harald.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top