org.farng.mp3.object
Class ObjectLyrics3Line

java.lang.Object
  extended byorg.farng.mp3.object.AbstractMP3Object
      extended byorg.farng.mp3.object.ObjectLyrics3Line

public class ObjectLyrics3Line
extends AbstractMP3Object

ID3v2 and Lyrics3v2 tags have individual fields AbstractMP3Fragments Then each fragment is broken down in to individual AbstractMP3Objects

Version:
$Revision: 1.5 $
Author:
Eric Farng

Field Summary
 
Fields inherited from class org.farng.mp3.object.AbstractMP3Object
identifier, value
 
Constructor Summary
ObjectLyrics3Line(ObjectLyrics3Line copyObject)
          Creates a new ObjectLyrics3Line object.
ObjectLyrics3Line(java.lang.String identifier)
          Creates a new ObjectLyrics3Line object.
 
Method Summary
 void addLyric(ObjectID3v2LyricLine line)
           
 void addLyric(java.lang.String newLyric)
           
 void addTimeStamp(ObjectLyrics3TimeStamp time)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLyric()
           
 int getSize()
           
 java.util.Iterator getTimeStamp()
           
 boolean hasTimeStamp()
           
 void readString(java.lang.String lineString, int offset)
           
 void setLyric(ObjectID3v2LyricLine line)
           
 void setLyric(java.lang.String lyric)
           
 void setTimeStamp(ObjectLyrics3TimeStamp time)
           
 java.lang.String toString()
           
 java.lang.String writeString()
           
 
Methods inherited from class org.farng.mp3.object.AbstractMP3Object
getIdentifier, getValue, readByteArray, readByteArray, readString, setValue, writeByteArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectLyrics3Line

public ObjectLyrics3Line(java.lang.String identifier)
Creates a new ObjectLyrics3Line object.


ObjectLyrics3Line

public ObjectLyrics3Line(ObjectLyrics3Line copyObject)
Creates a new ObjectLyrics3Line object.

Method Detail

setLyric

public void setLyric(java.lang.String lyric)

setLyric

public void setLyric(ObjectID3v2LyricLine line)

getLyric

public java.lang.String getLyric()

getSize

public int getSize()
Specified by:
getSize in class AbstractMP3Object

setTimeStamp

public void setTimeStamp(ObjectLyrics3TimeStamp time)

getTimeStamp

public java.util.Iterator getTimeStamp()

addLyric

public void addLyric(java.lang.String newLyric)

addLyric

public void addLyric(ObjectID3v2LyricLine line)

addTimeStamp

public void addTimeStamp(ObjectLyrics3TimeStamp time)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AbstractMP3Object

hasTimeStamp

public boolean hasTimeStamp()

readString

public void readString(java.lang.String lineString,
                       int offset)
Overrides:
readString in class AbstractMP3Object

toString

public java.lang.String toString()
Specified by:
toString in class AbstractMP3Object

writeString

public java.lang.String writeString()
Overrides:
writeString in class AbstractMP3Object


Copyright (c) 2004 Eric Farng