org.farng.mp3.lyrics3
Class FieldBodyIND

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

public class FieldBodyIND
extends AbstractLyrics3v2FieldBody

Indications field. This is always two characters big in v2.00, but might be bigger in a future standard. The first byte indicates wether or not a lyrics field is present. "1" for present and "0" for otherwise. The second character indicates if there is a timestamp in the lyrics. Again "1" for yes and "0" for no.

Version:
$Revision: 3 $
Author:
Eric Farng

Constructor Summary
FieldBodyIND()
          Creates a new FieldBodyIND object.
FieldBodyIND(boolean lyricsPresent, boolean timeStampPresent)
          Creates a new FieldBodyIND object.
FieldBodyIND(FieldBodyIND body)
          Creates a new FieldBodyIND object.
FieldBodyIND(java.io.RandomAccessFile file)
          Creates a new FieldBodyIND object.
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getIdentifier()
           
 void setAuthor(java.lang.String author)
           
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

FieldBodyIND

public FieldBodyIND()
Creates a new FieldBodyIND object.


FieldBodyIND

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


FieldBodyIND

public FieldBodyIND(boolean lyricsPresent,
                    boolean timeStampPresent)
Creates a new FieldBodyIND object.


FieldBodyIND

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

Throws:
InvalidTagException
java.io.IOException
Method Detail

setAuthor

public void setAuthor(java.lang.String author)

getAuthor

public java.lang.String getAuthor()

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