org.jaudiotagger.tag.id3.framebody
Class FrameBodyTMED

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.FrameBodyTMED
All Implemented Interfaces:
ID3v23FrameBody, ID3v24FrameBody

public class FrameBodyTMED
extends AbstractFrameBodyTextInfo
implements ID3v23FrameBody, ID3v24FrameBody

Length Text information frame.

The 'Media type' frame describes from which media the sound originated. This may be a text string or a reference to the predefined media types found in the list below. References are made within "(" and ")" and are optionally followed by a text refinement, e.g. "(MC) with four channels". If a text refinement should begin with a "(" character it should be replaced with "((" in the same way as in the "TCO" frame. Predefined refinements is appended after the media type, e.g. "(CD/A)" or "(VID/PAL/VHS)".

DIG Other digital media
/A
 
Analog transfer from media
ANAOther analog media
/WACWax cylinder
/8CA
 
8-track tape cassette
CDCD
/AAnalog transfer from media
/DDDDD
/ADADD
/AA
 
AAD
LDLaserdisc
/A
 
Analog transfer from media
TTTurntable records
/3333.33 rpm
/4545 rpm
/7171.29 rpm
/7676.59 rpm
/7878.26 rpm
/80
 
80 rpm
MDMiniDisc
/A
 
Analog transfer from media
DATDAT
/AAnalog transfer from media
/1standard, 48 kHz/16 bits, linear
/2mode 2, 32 kHz/16 bits, linear
/3mode 3, 32 kHz/12 bits, nonlinear, low speed
/4mode 4, 32 kHz/12 bits, 4 channels
/5mode 5, 44.1 kHz/16 bits, linear
/6
 
mode 6, 44.1 kHz/16 bits, 'wide track' play
DCCDCC
/A
 
Analog transfer from media
DVDDVD
/A
 
Analog transfer from media
TVTelevision
/PALPAL
/NTSCNTSC
 /SECAM
 
SECAM
VIDVideo
/PALPAL
/NTSCNTSC
/SECAMSECAM
/VHSVHS
/SVHSS-VHS
/BETA
 
BETAMAX
RADRadio
/FMFM
/AMAM
/LWLW
/MW
 
MW
TELTelephone
/I
 
ISDN
MCMC (normal cassette)
/44.75 cm/s (normal speed for a two sided cassette)
/99.5 cm/s
/IType I cassette (ferric/normal)
/IIType II cassette (chrome)
/IIIType III cassette (ferric chrome)
/IV
 
Type IV cassette (metal)
REEReel
/99.5 cm/s
/1919 cm/s
/3838 cm/s
/7676 cm/s
/IType I cassette (ferric/normal)
/IIType II cassette (chrome)
/IIIType III cassette (ferric chrome)
/IV
 
Type IV cassette (metal)

For more details, please refer to the ID3 specifications:

Version:
$Id: FrameBodyTMED.java,v 1.12 2009/11/12 13:25:20 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
FrameBodyTMED()
          Creates a new FrameBodyTMED datatype.
FrameBodyTMED(java.nio.ByteBuffer byteBuffer, int frameSize)
          Creates a new FrameBodyTMED datatype.
FrameBodyTMED(byte textEncoding, java.lang.String text)
          Creates a new FrameBodyTMED datatype.
FrameBodyTMED(FrameBodyTMED 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

FrameBodyTMED

public FrameBodyTMED()
Creates a new FrameBodyTMED datatype.


FrameBodyTMED

public FrameBodyTMED(FrameBodyTMED body)

FrameBodyTMED

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

Parameters:
textEncoding -
text -

FrameBodyTMED

public FrameBodyTMED(java.nio.ByteBuffer byteBuffer,
                     int frameSize)
              throws InvalidTagException
Creates a new FrameBodyTMED 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