org.farng.mp3.lyrics3
Class FieldBodyEAL

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

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: 1.4 $
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()
          ID string that usually corresponds to the class name, but can be displayed to the user.
 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.

Method Detail

setAlbum

public void setAlbum(java.lang.String album)

getAlbum

public java.lang.String getAlbum()

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

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