org.jaudiotagger.audio.flac
Class FlacInfoReader
java.lang.Object
org.jaudiotagger.audio.flac.FlacInfoReader
public class FlacInfoReader
- extends java.lang.Object
Read info from Flac file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static java.util.logging.Logger logger
NO_OF_BITS_IN_BYTE
private static final int NO_OF_BITS_IN_BYTE
- See Also:
- Constant Field Values
KILOBYTES_TO_BYTES_MULTIPLIER
private static final int KILOBYTES_TO_BYTES_MULTIPLIER
- See Also:
- Constant Field Values
FlacInfoReader
public FlacInfoReader()
read
public GenericAudioHeader read(java.io.RandomAccessFile raf)
throws CannotReadException,
java.io.IOException
- Throws:
CannotReadException
java.io.IOException
computeBitrate
private int computeBitrate(float length,
long size)
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