Reader on top of RandomAccessFile

Discussion in 'Java' started by Harald Kirsch, Aug 21, 2003.

  1. 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.
     
    Harald Kirsch, Aug 21, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike
    Replies:
    0
    Views:
    1,213
  2. ak
    Replies:
    12
    Views:
    2,236
    Roedy Green
    Oct 24, 2003
  3. Christopher Dean

    RandomAccessFile vs. FileChannel

    Christopher Dean, Nov 18, 2003, in forum: Java
    Replies:
    3
    Views:
    1,224
    Michael Borgwardt
    Nov 19, 2003
  4. Guilherme Grillo

    reader inside a reader

    Guilherme Grillo, Nov 7, 2007, in forum: ASP .Net
    Replies:
    5
    Views:
    545
    sloan
    Nov 7, 2007
  5. Pokkai Dokkai
    Replies:
    1
    Views:
    250
    Hassan Schroeder
    Mar 24, 2008
Loading...

Share This Page