Package com.mpatric.mp3agic
Class ID3v2ObseleteFrame
java.lang.Object
com.mpatric.mp3agic.ID3v2Frame
com.mpatric.mp3agic.ID3v2ObseleteFrame
public class ID3v2ObseleteFrame extends ID3v2Frame
-
Field Summary
Fields Modifier and Type Field Description protected static int
DATA_LENGTH_OFFSET
-
Constructor Summary
Constructors Constructor Description ID3v2ObseleteFrame(byte[] buffer, int offset)
ID3v2ObseleteFrame(String id, byte[] data)
-
Method Summary
Modifier and Type Method Description int
getLength()
void
packFrame(byte[] bytes, int offset)
protected void
unpackDataLength(byte[] buffer, int offset)
protected int
unpackHeader(byte[] buffer, int offset)
Methods inherited from class com.mpatric.mp3agic.ID3v2Frame
equals, getData, getDataLength, getId, hasCompression, hasDataLengthIndicator, hasEncryption, hasGroup, hashCode, hasPreserveFile, hasPreserveTag, hasUnsynchronisation, isReadOnly, packDataLength, sanityCheckUnpackedHeader, setData, toBytes, toBytes, unpackFrame
-
Field Details
-
DATA_LENGTH_OFFSET
protected static final int DATA_LENGTH_OFFSET- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
unpackHeader
protected int unpackHeader(byte[] buffer, int offset)- Overrides:
unpackHeader
in classID3v2Frame
-
unpackDataLength
protected void unpackDataLength(byte[] buffer, int offset)- Overrides:
unpackDataLength
in classID3v2Frame
-
packFrame
- Overrides:
packFrame
in classID3v2Frame
- Throws:
NotSupportedException
-
getLength
public int getLength()- Overrides:
getLength
in classID3v2Frame
-