org.metasyntactic.id3.v2.frame
Class TRCK

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

public class TRCK
extends TextInformationFrame

The 'Track number/Position in set' frame is a numeric string containing the order number of the audio-file on its original recording. This MAY be extended with a "/" character and a numeric string containing the total number of tracks/elements on the original recording. E.g. "4/9".


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 TRCK()
           
  TRCK(int track)
           
  TRCK(int track, int totalTracks)
           
 
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

TRCK

protected TRCK()

TRCK

public TRCK(int track)

TRCK

public TRCK(int track,
            int totalTracks)
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