entagged.audioformats.asf.io
Class AsfHeaderReader
java.lang.Object
entagged.audioformats.asf.io.AsfHeaderReader
public class AsfHeaderReader
- extends Object
This class reads an Asf header out of an inputstream an creates an
AsfHeader
object if successfull.
For now only ASF ver 1.0 is supported, till ver 2.0 seems not to be used
anywhere.
Asf headers contains other chunks. As of this other readers of current
package are called from within.
- Author:
- Christian Laireiter
Constructor Summary |
protected |
AsfHeaderReader()
Protected default constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsfHeaderReader
protected AsfHeaderReader()
- Protected default constructor.
At the time no special use.
readHeader
public static AsfHeader readHeader(RandomAccessFile in)
throws IOException
- This method tries to extract an ASF-header out of the given stream.
If no header could be extracted null
is returned.
- Parameters:
in
- File which contains the ASF header.
- Returns:
- AsfHeader-Wrapper, or
null
if no supported Asf
header was found.
- Throws:
IOException
- Read errors
Copyright © 2007-2008. All Rights Reserved.