FileDocCategorySizeDatePackage
FrameBodyTCON.javaAPI DocJaudiotagger 2.0.44111Wed Mar 30 16:12:02 BST 2011org.jaudiotagger.tag.id3.framebody

FrameBodyTCON

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)".

RXRemix
CRCover

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:

RXRemix
CRCover

author
: Paul Taylor
author
: Eric Farng
version
$Id: FrameBodyTCON.java 832 2009-11-12 13:25:38Z paultaylor $

Fields Summary
Constructors Summary
public FrameBodyTCON()
Creates a new FrameBodyTCON datatype.

    
public FrameBodyTCON(FrameBodyTCON body)

        super(body);
    
public FrameBodyTCON(byte textEncoding, String text)
Creates a new FrameBodyTCON datatype.

param
textEncoding
param
text

        super(textEncoding, text);
    
public FrameBodyTCON(ByteBuffer byteBuffer, int frameSize)
Creates a new FrameBodyTCON datatype.

param
byteBuffer
param
frameSize
throws
InvalidTagException

        super(byteBuffer, frameSize);
    
Methods Summary
public java.lang.StringgetIdentifier()
The ID3v2 frame identifier

return
the ID3v2 frame identifier for this frame type

        return ID3v24Frames.FRAME_ID_GENRE;