org.jaudiotagger.tag.id3.framebody
Class FrameBodyTCON
java.lang.Object
org.jaudiotagger.tag.id3.AbstractTagItem
org.jaudiotagger.tag.id3.AbstractTagFrameBody
org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
org.jaudiotagger.tag.id3.framebody.AbstractFrameBodyTextInfo
org.jaudiotagger.tag.id3.framebody.FrameBodyTCON
- All Implemented Interfaces:
- ID3v23FrameBody, ID3v24FrameBody
public class FrameBodyTCON
- extends AbstractFrameBodyTextInfo
- implements ID3v24FrameBody, ID3v23FrameBody
Content type Text information frame.
The 'Content type', which previously was
stored as a one byte numeric value only, is now a numeric string. You
may use one or several of the types as ID3v1.1 did or, since the
category list would be impossible to maintain with accurate and up to
date categories, define your own.
ID3V23:References to the ID3v1 genres can be made by, as first byte, enter
"(" followed by a number from the genres list (appendix A) and
ended with a ")" character. This is optionally followed by a
refinement, e.g. "(21)" or "(4)Eurodisco". Several references can be
made in the same frame, e.g. "(51)(39)". If the refinement should
begin with a "(" character it should be replaced with "((", e.g. "((I
can figure out any genre)" or "(55)((I think...)". The following new
content types is defined in ID3v2 and is implemented in the same way
as the numeric content types, e.g. "(RX)".
For more details, please refer to the ID3 specifications:
ID3V24:The 'Content type', which ID3v1 was stored as a one byte numeric
value only, is now a string. You may use one or several of the ID3v1
types as numerical strings, or, since the category list would be
impossible to maintain with accurate and up to date categories,
define your own. Example: "21" $00 "Eurodisco" $00
You may also use any of the following keywords:
- Version:
- $Id: FrameBodyTCON.java,v 1.15 2009/11/12 13:25:19 paultaylor Exp $
- Author:
- : Paul Taylor, : Eric Farng
Method Summary |
java.lang.String |
getIdentifier()
The ID3v2 frame identifier |
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FrameBodyTCON
public FrameBodyTCON()
- Creates a new FrameBodyTCON datatype.
FrameBodyTCON
public FrameBodyTCON(FrameBodyTCON body)
FrameBodyTCON
public FrameBodyTCON(byte textEncoding,
java.lang.String text)
- Creates a new FrameBodyTCON datatype.
- Parameters:
textEncoding
- text
-
FrameBodyTCON
public FrameBodyTCON(java.nio.ByteBuffer byteBuffer,
int frameSize)
throws InvalidTagException
- Creates a new FrameBodyTCON datatype.
- Parameters:
byteBuffer
- frameSize
-
- Throws:
InvalidTagException
getIdentifier
public java.lang.String getIdentifier()
- The ID3v2 frame identifier
- Specified by:
getIdentifier
in class AbstractID3v2FrameBody
- Returns:
- the ID3v2 frame identifier for this frame type