org.farng.mp3.lyrics3
Class FieldBodyEAL

java.lang.Object
  extended by org.farng.mp3.AbstractMP3FileItem
      extended by org.farng.mp3.AbstractMP3FragmentBody
          extended by org.farng.mp3.lyrics3.AbstractLyrics3v2FieldBody
              extended by org.farng.mp3.lyrics3.FieldBodyEAL
All Implemented Interfaces:
MP3MetadataContainer

public class FieldBodyEAL
extends AbstractLyrics3v2FieldBody

Extended Album name. 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: 3 $
Author:
Eric Farng

Constructor Summary
FieldBodyEAL()
          Creates a new FieldBodyEAL object.
FieldBodyEAL(FieldBodyEAL body)
          Creates a new FieldBodyEAL object.
FieldBodyEAL(java.io.RandomAccessFile file)
          Creates a new FieldBodyEAL object.
FieldBodyEAL(java.lang.String album)
          Creates a new FieldBodyEAL object.
 
Method Summary
 java.lang.String getAlbum()
           
 java.lang.String getIdentifier()
           
 void setAlbum(java.lang.String album)
           
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

FieldBodyEAL

public FieldBodyEAL()
Creates a new FieldBodyEAL object.


FieldBodyEAL

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


FieldBodyEAL

public FieldBodyEAL(java.lang.String album)
Creates a new FieldBodyEAL object.


FieldBodyEAL

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

Throws:
InvalidTagException
java.io.IOException
Method Detail

setAlbum

public void setAlbum(java.lang.String album)

getAlbum

public java.lang.String getAlbum()

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in class AbstractMP3FileItem

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