public class ID3v2ObseleteFrame extends ID3v2Frame
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DATA_LENGTH_OFFSET |
private static int |
HEADER_LENGTH |
private static int |
ID_LENGTH |
private static int |
ID_OFFSET |
data, dataLength, id| Constructor and Description |
|---|
ID3v2ObseleteFrame(byte[] buffer,
int offset) |
ID3v2ObseleteFrame(String id,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
void |
packFrame(byte[] bytes,
int offset) |
protected void |
unpackDataLength(byte[] buffer,
int offset) |
protected int |
unpackHeader(byte[] buffer,
int offset) |
equals, getData, getDataLength, getId, hasCompression, hasDataLengthIndicator, hasEncryption, hasGroup, hashCode, hasPreserveFile, hasPreserveTag, hasUnsynchronisation, isReadOnly, packDataLength, sanityCheckUnpackedHeader, setData, toBytes, toBytes, unpackFrameprivate static final int HEADER_LENGTH
private static final int ID_OFFSET
private static final int ID_LENGTH
protected static final int DATA_LENGTH_OFFSET
public ID3v2ObseleteFrame(byte[] buffer,
int offset)
throws InvalidDataException
InvalidDataExceptionpublic ID3v2ObseleteFrame(String id, byte[] data)
protected int unpackHeader(byte[] buffer,
int offset)
unpackHeader in class ID3v2Frameprotected void unpackDataLength(byte[] buffer,
int offset)
unpackDataLength in class ID3v2Framepublic void packFrame(byte[] bytes,
int offset)
throws NotSupportedException
packFrame in class ID3v2FrameNotSupportedExceptionpublic int getLength()
getLength in class ID3v2Frame