public class FlacStreamReader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FLAC_STREAM_IDENTIFIER |
static int |
FLAC_STREAM_IDENTIFIER_LENGTH |
static Logger |
logger |
Constructor and Description |
---|
FlacStreamReader(FileChannel fc,
String loggingName)
Create instance for holding stream info
|
Modifier and Type | Method and Description |
---|---|
void |
findStream()
Reads the stream block to ensure it is a flac file
|
int |
getStartOfFlacInFile()
Usually flac header is at start of file, but unofficially an ID3 tag is allowed at the start of the file.
|
public static Logger logger
public static final int FLAC_STREAM_IDENTIFIER_LENGTH
public static final String FLAC_STREAM_IDENTIFIER
public FlacStreamReader(FileChannel fc, String loggingName)
fc
- loggingName
- public void findStream() throws IOException, CannotReadException
IOException
CannotReadException
public int getStartOfFlacInFile()
Copyright © 2005–2020 jthink.net. All rights reserved.