public class URLFrameReader extends Object implements FrameReader
| Constructor and Description |
|---|
URLFrameReader(CanonicalFrameType canonicalFrameType,
int headerSize)
Instantiates a new URL frame reader.
|
| Modifier and Type | Method and Description |
|---|---|
URLFrame |
readFrameBody(int size,
InputStream input)
Read frame body.
|
URLFrame |
readFrameBody(String additionalTypeInfo,
int size,
InputStream input)
Read frame body.
|
public URLFrameReader(CanonicalFrameType canonicalFrameType, int headerSize)
canonicalFrameType - the canonical frame typeheaderSize - the header sizepublic URLFrame 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 URLFrame 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.