org.jaudiotagger.tag.id3.framebody
Class FrameBodyTFLT

java.lang.Object
  extended by org.jaudiotagger.tag.id3.AbstractTagItem
      extended by org.jaudiotagger.tag.id3.AbstractTagFrameBody
          extended by org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
              extended by org.jaudiotagger.tag.id3.framebody.AbstractFrameBodyTextInfo
                  extended by org.jaudiotagger.tag.id3.framebody.FrameBodyTFLT
All Implemented Interfaces:
ID3v23FrameBody, ID3v24FrameBody

public class FrameBodyTFLT
extends AbstractFrameBodyTextInfo
implements ID3v24FrameBody, ID3v23FrameBody

File type Text information frame.

The 'File type' frame indicates which type of audio this tag defines. The following type and refinements are defined:

MPG MPEG Audio
/1 MPEG 1/2 layer I
/2 MPEG 1/2 layer II
/3 MPEG 1/2 layer III
/2.5 MPEG 2.5
/AAC Advanced audio compression
VQFTransform-domain Weighted Interleave Vector Quantization
PCM Pulse Code Modulated audio

but other types may be used, not for these types though. This is used in a similar way to the predefined types in the "TMED" frame, but without parentheses. If this frame is not present audio type is assumed to be "MPG".

For more details, please refer to the ID3 specifications:

Version:
$Id: FrameBodyTFLT.java,v 1.12 2009/11/12 13:25:21 paultaylor Exp $
Author:
: Paul Taylor, : Eric Farng

Field Summary
 
Fields inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
TYPE_BODY
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
objectList
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
logger
 
Constructor Summary
FrameBodyTFLT()
          Creates a new FrameBodyTFLT datatype.
FrameBodyTFLT(java.nio.ByteBuffer byteBuffer, int frameSize)
          Creates a new FrameBodyTFLT datatype.
FrameBodyTFLT(byte textEncoding, java.lang.String text)
          Creates a new FrameBodyTFLT datatype.
FrameBodyTFLT(FrameBodyTFLT body)
           
 
Method Summary
 java.lang.String getIdentifier()
          The ID3v2 frame identifier
 
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractFrameBodyTextInfo
addTextValue, getFirstTextValue, getNumberOfValues, getText, getValueAtIndex, setText, setupObjectList, write
 
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
createStructure, equals, getSize, read, setSize, setSize
 
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
 

Constructor Detail

FrameBodyTFLT

public FrameBodyTFLT()
Creates a new FrameBodyTFLT datatype.


FrameBodyTFLT

public FrameBodyTFLT(FrameBodyTFLT body)

FrameBodyTFLT

public FrameBodyTFLT(byte textEncoding,
                     java.lang.String text)
Creates a new FrameBodyTFLT datatype.

Parameters:
textEncoding -
text -

FrameBodyTFLT

public FrameBodyTFLT(java.nio.ByteBuffer byteBuffer,
                     int frameSize)
              throws InvalidTagException
Creates a new FrameBodyTFLT datatype.

Parameters:
byteBuffer -
frameSize -
Throws:
InvalidTagException
Method Detail

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