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 boolean
equals(Object obj)
EncodedText
getComment()
EncodedText
getDescription()
String
getLanguage()
protected int
getLength()
int
hashCode()
protected byte[]
packFrameData()
void
setComment(EncodedText comment)
void
setDescription(EncodedText description)
void
setLanguage(String language)
protected void
unpackFrameData(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:
unpackFrameData
in classAbstractID3v2FrameData
- Throws:
InvalidDataException
-
packFrameData
protected byte[] packFrameData()- Specified by:
packFrameData
in classAbstractID3v2FrameData
-
getLength
protected int getLength()- Specified by:
getLength
in classAbstractID3v2FrameData
-
getLanguage
-
setLanguage
-
getComment
-
setComment
-
getDescription
-
setDescription
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractID3v2FrameData
-
equals
- Overrides:
equals
in classAbstractID3v2FrameData
-