org.farng.mp3.lyrics3
Class FieldBodyEAR

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.FieldBodyEAR
All Implemented Interfaces:
MP3MetadataContainer

public class FieldBodyEAR
extends AbstractLyrics3v2FieldBody

Extended Artist 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
FieldBodyEAR()
          Creates a new FieldBodyEAR object.
FieldBodyEAR(FieldBodyEAR body)
          Creates a new FieldBodyEAR object.
FieldBodyEAR(java.io.RandomAccessFile file)
          Creates a new FieldBodyEAR object.
FieldBodyEAR(java.lang.String artist)
          Creates a new FieldBodyEAR object.
 
Method Summary
 java.lang.String getArtist()
           
 java.lang.String getIdentifier()
           
 void setArtist(java.lang.String artist)
           
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

FieldBodyEAR

public FieldBodyEAR()
Creates a new FieldBodyEAR object.


FieldBodyEAR

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


FieldBodyEAR

public FieldBodyEAR(java.lang.String artist)
Creates a new FieldBodyEAR object.


FieldBodyEAR

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

Throws:
InvalidTagException
java.io.IOException
Method Detail

setArtist

public void setArtist(java.lang.String artist)

getArtist

public java.lang.String getArtist()

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