public class FramesReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
DISCARD_WHEN_FILE_ALTERED
The Constant DISCARD_WHEN_FILE_ALTERED.
|
| Constructor and Description |
|---|
FramesReader()
Instantiates a new frames reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
readFrames(ID3Tag tag,
InputStream input,
long length)
Read frames.
|
int |
readNextFrame(ID3Tag tag,
InputStream input)
Read next frame.
|
public int readNextFrame(ID3Tag tag, InputStream input) throws IOException, UnsupportedEncodingException, MalformedFrameException
tag - the taginput - the inputIOException - Signals that an I/O exception has occurred.UnsupportedEncodingException - the unsupported encoding exceptionMalformedFrameException - the malformed frame exceptionpublic void readFrames(ID3Tag tag, InputStream input, long length) throws IOException, UnsupportedEncodingException, MalformedFrameException
tag - the taginput - the inputlength - the lengthIOException - Signals that an I/O exception has occurred.UnsupportedEncodingException - the unsupported encoding exceptionMalformedFrameException - the malformed frame exceptionCopyright © 2018. All rights reserved.