org.jaudiotagger.audio.flac
Class FlacInfoReader

java.lang.Object
  extended by org.jaudiotagger.audio.flac.FlacInfoReader

public class FlacInfoReader
extends java.lang.Object

Read info from Flac file


Field Summary
static java.util.logging.Logger logger
           
 
Constructor Summary
FlacInfoReader()
           
 
Method Summary
 int countMetaBlocks(java.io.File f)
          Count the number of metadatablocks, useful for debugging
 GenericAudioHeader read(java.io.RandomAccessFile raf)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static java.util.logging.Logger logger
Constructor Detail

FlacInfoReader

public FlacInfoReader()
Method Detail

read

public GenericAudioHeader read(java.io.RandomAccessFile raf)
                        throws CannotReadException,
                               java.io.IOException
Throws:
CannotReadException
java.io.IOException

countMetaBlocks

public int countMetaBlocks(java.io.File f)
                    throws CannotReadException,
                           java.io.IOException
Count the number of metadatablocks, useful for debugging

Parameters:
f -
Returns:
Throws:
CannotReadException
java.io.IOException