Results 1 to 6 of 6
  1. #1
    karimzamra is offline Member
    Join Date
    Dec 2010
    Posts
    4
    Rep Power
    0

    Default read the file header

    Hi, please I need to read the file header as a biary data to study it as it is been stored in memory. and print it as a frame.

    thanks
    best regards
    Ir. Karim Zamra

  2. #2
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    oooooookay and you have tried what??

  3. #3
    karimzamra is offline Member
    Join Date
    Dec 2010
    Posts
    4
    Rep Power
    0

    Default

    thanks for replying
    I tryed the InputStream and it returns integers (I don't no its binary representation), also i tryed FileReader, DataInputStream, InputStreamReader. and when I tryed fileReader.read(byte[] b) it gave me strange codes.
    any comment or help please.
    thanks

  4. #4
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    what type of filereader do you think you need based on your study and application of each one?

  5. #5
    karimzamra is offline Member
    Join Date
    Dec 2010
    Posts
    4
    Rep Power
    0

    Default

    sorry i didn't understand the question.
    but if you mean the extension it is WAV (as the simplest audio format)
    and I use it like that FileReader(File file).


    did i answer the question ?

  6. #6
    karimzamra is offline Member
    Join Date
    Dec 2010
    Posts
    4
    Rep Power
    0

Similar Threads

  1. read tiff image header
    By mr_empty in forum Java 2D
    Replies: 0
    Last Post: 12-23-2009, 05:08 AM
  2. Reading file header
    By mew in forum New To Java
    Replies: 9
    Last Post: 02-19-2009, 08:29 PM
  3. Replies: 0
    Last Post: 02-11-2009, 10:53 AM
  4. how to make header file?
    By rams in forum New To Java
    Replies: 9
    Last Post: 10-24-2008, 09:16 AM
  5. Servlet sending the file (setting header)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-27-2008, 09:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •