org.jaudiotagger.audio.asf.io
Class FileHeaderReader

java.lang.Object
  extended by org.jaudiotagger.audio.asf.io.FileHeaderReader

public class FileHeaderReader
extends java.lang.Object

Reads and interprets the data of the file header.

Author:
Christian Laireiter

Method Summary
static FileHeader read(java.io.RandomAccessFile raf, Chunk candidate)
          Creates and fills a FileHeaderfrom given file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static FileHeader read(java.io.RandomAccessFile raf,
                              Chunk candidate)
                       throws java.io.IOException
Creates and fills a FileHeaderfrom given file.

Parameters:
raf - Input
candidate - Chunk which possibly is a file header.
Returns:
FileHeader if filepointer of raf is at valid fileheader.
Throws:
java.io.IOException - Read errors.