org.metasyntactic.id3.v2.frame
Class TPOS

java.lang.Object
  |
  +--org.metasyntactic.id3.v2.frame.Frame
        |
        +--org.metasyntactic.id3.v2.frame.TextInformationFrame
              |
              +--org.metasyntactic.id3.v2.frame.TPOS
All Implemented Interfaces:
Id3v2Constants

public class TPOS
extends TextInformationFrame

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


Field Summary
 
Fields inherited from class org.metasyntactic.id3.v2.frame.TextInformationFrame
encoding, information
 
Fields inherited from class org.metasyntactic.id3.v2.frame.Frame
compressed, dataLengthIndicator, discardOnFileAlteration, discardOnTagAlteration, encrypted, frameID, groupInformation, readOnly, unsynchronised
 
Fields inherited from interface org.metasyntactic.id3.v2.Id3v2Constants
ISO_8859_1, JAVA_ISO_8859_1, JAVA_US_ASCII, JAVA_UTF_16, JAVA_UTF_16_BIG_ENDIAN, JAVA_UTF_8, MAJOR_VERSION, MAX_ENCODING, MIN_ENCODING, REVISION_NUMBER, UTF_16, UTF_16_BIG_ENDIAN, UTF_8
 
Constructor Summary
protected TPOS()
           
  TPOS(int part)
           
  TPOS(int part, int total)
           
 
Method Summary
protected  void validate()
          Intended for subclasses to use to validate the information read in by readContent.
 
Methods inherited from class org.metasyntactic.id3.v2.frame.TextInformationFrame
equals, equals, getSize, hashCode, readContent, setInformation, toString, writeContent
 
Methods inherited from class org.metasyntactic.id3.v2.frame.Frame
getTotalSize, hasDataLengthIndicator, isCompressed, isDiscardedOnFileAlteration, isDiscardedOnTagAlteration, isEncrypted, isPartOfGroup, isReadOnly, isUnsynchronized, read, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TPOS

protected TPOS()

TPOS

public TPOS(int part)

TPOS

public TPOS(int part,
            int total)
Method Detail

validate

protected void validate()
                 throws Id3v2Exception
Description copied from class: TextInformationFrame
Intended for subclasses to use to validate the information read in by readContent. The default implementation is to do nothing

Overrides:
validate in class TextInformationFrame
Id3v2Exception