entagged.audioformats.asf.io
Class FileHeaderReader

java.lang.Object
  extended by entagged.audioformats.asf.io.FileHeaderReader

public class FileHeaderReader
extends Object

Reads and interprets the data of the file header.

Author:
Christian Laireiter

Constructor Summary
protected FileHeaderReader()
          Should not be used for now.
 
Method Summary
static FileHeader read(RandomAccessFile raf, Chunk candidate)
          Creates and fills a FileHeaderfrom given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHeaderReader

protected FileHeaderReader()
Should not be used for now.

Method Detail

read

public static FileHeader read(RandomAccessFile raf,
                              Chunk candidate)
                       throws 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:
IOException - Read errors.


Copyright © 2007-2008. All Rights Reserved.