public class TextFrameReader extends Object implements FrameReader
| Constructor and Description |
|---|
TextFrameReader(CanonicalFrameType canonicalFrameType,
int headerSize)
Instantiates a new text frame reader.
|
| Modifier and Type | Method and Description |
|---|---|
TextFrame |
readFrameBody(int size,
InputStream input)
Read frame body.
|
TextFrame |
readFrameBody(String additionalTypeInfo,
int size,
InputStream input)
Read frame body.
|
public TextFrameReader(CanonicalFrameType canonicalFrameType, int headerSize)
canonicalFrameType - the canonical frame typeheaderSize - the header sizepublic TextFrame readFrameBody(int size, InputStream input) throws IOException, UnsupportedEncodingException
FrameReaderreadFrameBody in interface FrameReadersize - the size.input - the InputStream.ID3Frame.IOException - Signals that an I/O exception has occurred.UnsupportedEncodingException - If the encoding isn't supported.public TextFrame readFrameBody(String additionalTypeInfo, int size, InputStream input) throws IOException, UnsupportedEncodingException
additionalTypeInfo - the additional type infosize - the sizeinput - the inputIOException - Signals that an I/O exception has occurred.UnsupportedEncodingException - the unsupported encoding exceptionCopyright © 2018. All rights reserved.