FileDocCategorySizeDatePackage
FrameBodyTYER.javaAPI DocJaudiotagger 2.0.42998Wed Mar 30 16:12:04 BST 2011org.jaudiotagger.tag.id3.framebody

FrameBodyTYER

public class FrameBodyTYER extends AbstractFrameBodyTextInfo implements ID3v23FrameBody
Year Text information frame.

The 'Year' frame is a numeric string with a year of the recording. This frames is always four characters long (until the year 10000).

Deprecated in v2.4.0

For more details, please refer to the ID3 specifications:

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

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

    
public FrameBodyTYER(FrameBodyTYER body)

        super(body);
    
public FrameBodyTYER(FrameBodyTDRC body)
When converting v4 TDRC frame to v3 TYER

param
body

        setObjectValue(DataTypes.OBJ_TEXT_ENCODING, TextEncoding.ISO_8859_1);
        setObjectValue(DataTypes.OBJ_TEXT, body.getText());
    
public FrameBodyTYER(byte textEncoding, String text)
Creates a new FrameBodyTYER datatype.

param
textEncoding
param
text

        super(textEncoding, text);
    
public FrameBodyTYER(ByteBuffer byteBuffer, int frameSize)
Creates a new FrameBodyTYER 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 ID3v23Frames.FRAME_ID_V3_TYER;