Package com.mpatric.mp3agic
Class AbstractID3v2FrameData
java.lang.Object
com.mpatric.mp3agic.AbstractID3v2FrameData
- Direct Known Subclasses:
ID3v2ChapterFrameData
,ID3v2ChapterTOCFrameData
,ID3v2CommentFrameData
,ID3v2PictureFrameData
,ID3v2PopmFrameData
,ID3v2TextFrameData
,ID3v2UrlFrameData
,ID3v2WWWFrameData
public abstract class AbstractID3v2FrameData extends Object
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
unsynchronisation
-
Constructor Summary
Constructors Constructor Description AbstractID3v2FrameData(boolean unsynchronisation)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
protected abstract int
getLength()
int
hashCode()
protected byte[]
packAndUnsynchroniseFrameData()
protected abstract byte[]
packFrameData()
protected void
synchroniseAndUnpackFrameData(byte[] bytes)
protected byte[]
toBytes()
protected abstract void
unpackFrameData(byte[] bytes)
-
Field Details
-
unsynchronisation
boolean unsynchronisation
-
-
Constructor Details
-
AbstractID3v2FrameData
public AbstractID3v2FrameData(boolean unsynchronisation)
-
-
Method Details
-
synchroniseAndUnpackFrameData
- Throws:
InvalidDataException
-
packAndUnsynchroniseFrameData
protected byte[] packAndUnsynchroniseFrameData() -
toBytes
protected byte[] toBytes() -
hashCode
public int hashCode() -
equals
-
unpackFrameData
- Throws:
InvalidDataException
-
packFrameData
protected abstract byte[] packFrameData() -
getLength
protected abstract int getLength()
-