public class FrameBodyTCMP extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBody
determines whether or not track is part of compilation
TYPE_BODY
objectList
logger
Constructor and Description |
---|
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
|
FrameBodyTCMP(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyTIT1 datatype.
|
FrameBodyTCMP(byte textEncoding,
String text)
Creates a new FrameBodyTCMP datatype.
|
FrameBodyTCMP(FrameBodyTCMP body) |
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
The ID3v2 frame identifier
|
boolean |
isCompilation() |
addTextValue, getFirstTextValue, getNumberOfValues, getText, getTextWithoutTrailingNulls, getUserFriendlyValue, getValueAtIndex, getValues, setText, setupObjectList, write
createStructure, equals, getSize, read, setSize, setSize
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyTCMP()
public FrameBodyTCMP(FrameBodyTCMP body)
public FrameBodyTCMP(byte textEncoding, String text)
textEncoding
- text
- public FrameBodyTCMP(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
public boolean isCompilation()
public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.