Package com.mpatric.mp3agic
Class ID3v2CommentFrameData
java.lang.Object
com.mpatric.mp3agic.AbstractID3v2FrameData
com.mpatric.mp3agic.ID3v2CommentFrameData
public class ID3v2CommentFrameData extends AbstractID3v2FrameData
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ID3v2CommentFrameData(boolean unsynchronisation)ID3v2CommentFrameData(boolean unsynchronisation, byte[] bytes)ID3v2CommentFrameData(boolean unsynchronisation, String language, EncodedText description, EncodedText comment) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)EncodedTextgetComment()EncodedTextgetDescription()StringgetLanguage()protected intgetLength()inthashCode()protected byte[]packFrameData()voidsetComment(EncodedText comment)voidsetDescription(EncodedText description)voidsetLanguage(String language)protected voidunpackFrameData(byte[] bytes)Methods inherited from class com.mpatric.mp3agic.AbstractID3v2FrameData
packAndUnsynchroniseFrameData, synchroniseAndUnpackFrameData, toBytes
-
Constructor Details
-
ID3v2CommentFrameData
public ID3v2CommentFrameData(boolean unsynchronisation) -
ID3v2CommentFrameData
public ID3v2CommentFrameData(boolean unsynchronisation, String language, EncodedText description, EncodedText comment) -
ID3v2CommentFrameData
- Throws:
InvalidDataException
-
-
Method Details
-
unpackFrameData
- Specified by:
unpackFrameDatain classAbstractID3v2FrameData- Throws:
InvalidDataException
-
packFrameData
protected byte[] packFrameData()- Specified by:
packFrameDatain classAbstractID3v2FrameData
-
getLength
protected int getLength()- Specified by:
getLengthin classAbstractID3v2FrameData
-
getLanguage
-
setLanguage
-
getComment
-
setComment
-
getDescription
-
setDescription
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractID3v2FrameData
-
equals
- Overrides:
equalsin classAbstractID3v2FrameData
-