org.farng.mp3.id3
Class AbstractFrameBodyTextInformation

java.lang.Object
  extended by org.farng.mp3.AbstractMP3FileItem
      extended by org.farng.mp3.AbstractMP3FragmentBody
          extended by org.farng.mp3.id3.AbstractID3v2FrameBody
              extended by org.farng.mp3.id3.AbstractFrameBodyTextInformation
All Implemented Interfaces:
MP3MetadataContainer
Direct Known Subclasses:
FrameBodyTALB, FrameBodyTBPM, FrameBodyTCOM, FrameBodyTCON, FrameBodyTCOP, FrameBodyTDAT, FrameBodyTDEN, FrameBodyTDLY, FrameBodyTDOR, FrameBodyTDRC, FrameBodyTDRL, FrameBodyTDTG, FrameBodyTENC, FrameBodyTEXT, FrameBodyTFLT, FrameBodyTIME, FrameBodyTIPL, FrameBodyTIT1, FrameBodyTIT2, FrameBodyTIT3, FrameBodyTKEY, FrameBodyTLAN, FrameBodyTLEN, FrameBodyTMCL, FrameBodyTMED, FrameBodyTMOO, FrameBodyTOAL, FrameBodyTOFN, FrameBodyTOLY, FrameBodyTOPE, FrameBodyTORY, FrameBodyTOWN, FrameBodyTPE1, FrameBodyTPE2, FrameBodyTPE3, FrameBodyTPE4, FrameBodyTPOS, FrameBodyTPRO, FrameBodyTPUB, FrameBodyTRCK, FrameBodyTRDA, FrameBodyTRSN, FrameBodyTRSO, FrameBodyTSIZ, FrameBodyTSOA, FrameBodyTSOP, FrameBodyTSOT, FrameBodyTSRC, FrameBodyTSSE, FrameBodyTSST, FrameBodyTYER

public abstract class AbstractFrameBodyTextInformation
extends AbstractID3v2FrameBody

All frames starting with "T" are the same structurally and subclass from here

Version:
$Revision: 3 $
Author:
Eric Farng

Constructor Summary
protected AbstractFrameBodyTextInformation()
          Creates a new FrameBodyTextInformation object.
protected AbstractFrameBodyTextInformation(AbstractFrameBodyTextInformation body)
          Creates a new AbstractFrameBodyTextInformation object.
protected AbstractFrameBodyTextInformation(byte textEncoding, java.lang.String text)
          Creates a new FrameBodyTextInformation object.
protected AbstractFrameBodyTextInformation(java.io.RandomAccessFile file)
          Creates a new FrameBodyTextInformation object.
 
Method Summary
 java.lang.String getBriefDescription()
          This method calls toString for all it's objects and appends them without any newline characters.
 java.lang.String getText()
           
 byte getTextEncoding()
           
 void setText(java.lang.String text)
           
 void setTextEncoding(byte textEncoding)
           
protected  void setupObjectList()
          Create the order of MP3Object objects that this body expects.
 
Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody
equals, readHeader, writeHeader
 
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody
appendToObjectList, getDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write
 
Methods inherited from class org.farng.mp3.AbstractMP3FileItem
getIdentifier
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractFrameBodyTextInformation

protected AbstractFrameBodyTextInformation()
Creates a new FrameBodyTextInformation object.


AbstractFrameBodyTextInformation

protected AbstractFrameBodyTextInformation(AbstractFrameBodyTextInformation body)
Creates a new AbstractFrameBodyTextInformation object.


AbstractFrameBodyTextInformation

protected AbstractFrameBodyTextInformation(byte textEncoding,
                                           java.lang.String text)
Creates a new FrameBodyTextInformation object.


AbstractFrameBodyTextInformation

protected AbstractFrameBodyTextInformation(java.io.RandomAccessFile file)
                                    throws java.io.IOException,
                                           InvalidTagException
Creates a new FrameBodyTextInformation object.

Throws:
java.io.IOException
InvalidTagException
Method Detail

getBriefDescription

public java.lang.String getBriefDescription()
Description copied from class: AbstractMP3FragmentBody
This method calls toString for all it's objects and appends them without any newline characters.

Overrides:
getBriefDescription in class AbstractMP3FragmentBody
Returns:
brief description string

setText

public void setText(java.lang.String text)

getText

public java.lang.String getText()

setTextEncoding

public void setTextEncoding(byte textEncoding)

getTextEncoding

public byte getTextEncoding()

setupObjectList

protected void setupObjectList()
Description copied from class: AbstractMP3FragmentBody
Create the order of MP3Object objects that this body expects. This method needs to be overwritten.

Specified by:
setupObjectList in class AbstractMP3FragmentBody