public class FlacInfoReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
KILOBYTES_TO_BYTES_MULTIPLIER |
static java.util.logging.Logger |
logger |
private static int |
NO_OF_BITS_IN_BYTE |
Constructor and Description |
---|
FlacInfoReader() |
Modifier and Type | Method and Description |
---|---|
private int |
computeBitrate(float length,
long size) |
int |
countMetaBlocks(java.io.File f)
Count the number of metadatablocks, useful for debugging
|
FlacAudioHeader |
read(java.io.RandomAccessFile raf) |
public static java.util.logging.Logger logger
private static final int NO_OF_BITS_IN_BYTE
private static final int KILOBYTES_TO_BYTES_MULTIPLIER
public FlacAudioHeader read(java.io.RandomAccessFile raf) throws CannotReadException, java.io.IOException
CannotReadException
java.io.IOException
private int computeBitrate(float length, long size)
public int countMetaBlocks(java.io.File f) throws CannotReadException, java.io.IOException
f
- CannotReadException
java.io.IOException
Copyright © 2005-2013 java.net. All Rights Reserved.