public class FrameBodyTKEY extends AbstractFrameBodyTextInfo implements ID3v24FrameBody, ID3v23FrameBody
The 'Initial key' frame contains the musical key in which the sound starts. It is represented as a string with a maximum length of three characters. The ground keys are represented with "A","B","C","D","E", "F" and "G" and halfkeys represented with "b" and "#". Minor is represented as "m". Example "Cbm". Off key is represented with an "o" only.
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyTKEY()
Creates a new FrameBodyTKEY datatype.
|
FrameBodyTKEY(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyTKEY datatype.
|
FrameBodyTKEY(byte textEncoding,
String text)
Creates a new FrameBodyTKEY datatype.
|
FrameBodyTKEY(FrameBodyTKEY body) |
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
The ID3v2 frame identifier
|
boolean |
isValid() |
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 FrameBodyTKEY()
public FrameBodyTKEY(FrameBodyTKEY body)
public FrameBodyTKEY(byte textEncoding, String text)
textEncoding
- text
- public FrameBodyTKEY(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- IOException
InvalidTagException
public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public boolean isValid()
Copyright © 2005–2020 jthink.net. All rights reserved.