FrameBodyTCMPpublic class FrameBodyTCMP extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBodyIs part of a Compilation (iTunes frame)
determines whether or not track is part of compilation |
Fields Summary |
---|
static String | IS_COMPILATION |
Constructors Summary |
---|
public FrameBodyTCMP()Creates a new FrameBodyTCMP datatype, with compilation enabled
This is the preferred constructor to use because TCMP frames should not exist
unless they are set to true
setObjectValue(DataTypes.OBJ_TEXT_ENCODING, TextEncoding.ISO_8859_1);
setObjectValue(DataTypes.OBJ_TEXT, IS_COMPILATION);
| public FrameBodyTCMP(FrameBodyTCMP body)
super(body);
| public FrameBodyTCMP(byte textEncoding, String text)Creates a new FrameBodyTCMP datatype.
super(textEncoding, text);
| public FrameBodyTCMP(ByteBuffer byteBuffer, int frameSize)Creates a new FrameBodyTIT1 datatype.
super(byteBuffer, frameSize);
|
Methods Summary |
---|
public java.lang.String | getIdentifier()The ID3v2 frame identifier
return ID3v24Frames.FRAME_ID_IS_COMPILATION;
| public boolean | isCompilation()
return this.getText().equals(IS_COMPILATION);
|
|