org.jaudiotagger.tag.id3.framebody
Class FrameBodyTPOS

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

public class FrameBodyTPOS
extends AbstractFrameBodyTextInfo
implements ID3v23FrameBody, ID3v24FrameBody

Part of a set Text information frame.

The 'Part of a set' frame is a numeric string that describes which part of a set the audio came from. This frame is used if the source described in the "TALB" frame is divided into several mediums, e.g. a double CD. The value may be extended with a "/" character and a numeric string containing the total number of parts in the set. E.g. "1/2".

For more details, please refer to the ID3 specifications:

Version:
$Id: FrameBodyTPOS.java,v 1.9 2006/08/25 15:35:26 paultaylor Exp $
Author:
: Paul Taylor, : Eric Farng

Field Summary
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
logger
 
Constructor Summary
FrameBodyTPOS()
          Creates a new FrameBodyTPOS datatype.
FrameBodyTPOS(java.nio.ByteBuffer byteBuffer, int frameSize)
          Creates a new FrameBodyTPOS datatype.
FrameBodyTPOS(byte textEncoding, java.lang.String text)
          Creates a new FrameBodyTPOS datatype.
FrameBodyTPOS(FrameBodyTPOS 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, 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
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrameBodyTPOS

public FrameBodyTPOS()
Creates a new FrameBodyTPOS datatype.


FrameBodyTPOS

public FrameBodyTPOS(FrameBodyTPOS body)

FrameBodyTPOS

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

Parameters:
textEncoding -
text -

FrameBodyTPOS

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

Throws:
java.io.IOException
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