org.farng.mp3.lyrics3
Class FieldBodyETT

java.lang.Object
  extended byorg.farng.mp3.AbstractMP3FileItem
      extended byorg.farng.mp3.AbstractMP3FragmentBody
          extended byorg.farng.mp3.lyrics3.AbstractLyrics3v2FieldBody
              extended byorg.farng.mp3.lyrics3.FieldBodyETT

public class FieldBodyETT
extends AbstractLyrics3v2FieldBody

Extended Track Title. The extended Album, Artist and Track are an extension to the fields in the ID3v1 tag - which are limited to 30 chars. If these extended fields exist, make sure their first 30 chars are exactly the same as the ones in the ID3v1 tag. If they are the same, display the extended field. If not, display the one from the ID tag. These 'mismatched' extended fields, should be removed when saving the lyrics tag. When saving the extended fields, make sure to copy the first 30 chars of each field to the ID3 tag matching fields. It is recommended NOT to save extended fields at all, if they are not larger then 30 chars.

Version:
$Revision: 1.4 $
Author:
Eric Farng

Constructor Summary
FieldBodyETT()
          Creates a new FieldBodyETT object.
FieldBodyETT(FieldBodyETT body)
          Creates a new FieldBodyETT object.
FieldBodyETT(java.io.RandomAccessFile file)
          Creates a new FieldBodyETT object.
FieldBodyETT(java.lang.String title)
          Creates a new FieldBodyETT object.
 
Method Summary
 java.lang.String getIdentifier()
          ID string that usually corresponds to the class name, but can be displayed to the user.
 java.lang.String getTitle()
           
 void setTitle(java.lang.String title)
           
protected  void setupObjectList()
          Create the order of MP3Object objects that this body expects.
 
Methods inherited from class org.farng.mp3.lyrics3.AbstractLyrics3v2FieldBody
readHeader, writeHeader
 
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody
appendToObjectList, equals, getBriefDescription, getDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldBodyETT

public FieldBodyETT()
Creates a new FieldBodyETT object.


FieldBodyETT

public FieldBodyETT(FieldBodyETT body)
Creates a new FieldBodyETT object.


FieldBodyETT

public FieldBodyETT(java.lang.String title)
Creates a new FieldBodyETT object.


FieldBodyETT

public FieldBodyETT(java.io.RandomAccessFile file)
             throws InvalidTagException,
                    java.io.IOException
Creates a new FieldBodyETT object.

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: AbstractMP3FileItem
ID string that usually corresponds to the class name, but can be displayed to the user. It is not indended to identify each individual instance.

Specified by:
getIdentifier in class AbstractMP3FileItem
Returns:
ID string

setTitle

public void setTitle(java.lang.String title)

getTitle

public java.lang.String getTitle()

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


Copyright (c) 2004 Eric Farng