Package com.mpatric.mp3agic
Class ID3v2ChapterTOCFrameData
java.lang.Object
com.mpatric.mp3agic.AbstractID3v2FrameData
com.mpatric.mp3agic.ID3v2ChapterTOCFrameData
public class ID3v2ChapterTOCFrameData extends AbstractID3v2FrameData
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ID3v2ChapterTOCFrameData(boolean unsynchronisation)
ID3v2ChapterTOCFrameData(boolean unsynchronisation, boolean isRoot, boolean isOrdered, String id, String[] children)
ID3v2ChapterTOCFrameData(boolean unsynchronisation, byte[] bytes)
-
Method Summary
Modifier and Type Method Description void
addSubframe(String id, AbstractID3v2FrameData frame)
boolean
equals(Object obj)
String[]
getChildren()
String[]
getChilds()
Deprecated.String
getId()
protected int
getLength()
ArrayList<ID3v2Frame>
getSubframes()
int
hashCode()
boolean
isOrdered()
boolean
isRoot()
protected byte[]
packFrameData()
void
setChildren(String[] children)
void
setChilds(String[] childs)
Deprecated.void
setId(String id)
void
setOrdered(boolean isOrdered)
void
setRoot(boolean isRoot)
void
setSubframes(ArrayList<ID3v2Frame> subframes)
String
toString()
protected void
unpackFrameData(byte[] bytes)
Methods inherited from class com.mpatric.mp3agic.AbstractID3v2FrameData
packAndUnsynchroniseFrameData, synchroniseAndUnpackFrameData, toBytes
-
Field Details
-
Constructor Details
-
ID3v2ChapterTOCFrameData
public ID3v2ChapterTOCFrameData(boolean unsynchronisation) -
ID3v2ChapterTOCFrameData
-
ID3v2ChapterTOCFrameData
public ID3v2ChapterTOCFrameData(boolean unsynchronisation, byte[] bytes) throws InvalidDataException- Throws:
InvalidDataException
-
-
Method Details
-
unpackFrameData
- Specified by:
unpackFrameData
in classAbstractID3v2FrameData
- Throws:
InvalidDataException
-
addSubframe
-
packFrameData
protected byte[] packFrameData()- Specified by:
packFrameData
in classAbstractID3v2FrameData
-
isRoot
public boolean isRoot() -
setRoot
public void setRoot(boolean isRoot) -
isOrdered
public boolean isOrdered() -
setOrdered
public void setOrdered(boolean isOrdered) -
getId
-
setId
-
getChildren
-
setChildren
-
getChilds
Deprecated. -
setChilds
Deprecated. -
getSubframes
-
setSubframes
-
getLength
protected int getLength()- Specified by:
getLength
in classAbstractID3v2FrameData
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractID3v2FrameData
-
equals
- Overrides:
equals
in classAbstractID3v2FrameData
-