org.farng.mp3.object
Class ObjectLyrics3Line
java.lang.Object
org.farng.mp3.object.AbstractMP3Object
org.farng.mp3.object.ObjectLyrics3Line
- All Implemented Interfaces:
- MP3Object
public class ObjectLyrics3Line
- extends AbstractMP3Object
ID3v2 and Lyrics3v2 tags have individual fields AbstractMP3Fragment
s Then each fragment is broken down
in to individual AbstractMP3Object
s
- Version:
- $Revision: 3 $
- Author:
- Eric Farng
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectLyrics3Line
public ObjectLyrics3Line(java.lang.String identifier)
- Creates a new ObjectLyrics3Line object.
ObjectLyrics3Line
public ObjectLyrics3Line(ObjectLyrics3Line copyObject)
- Creates a new ObjectLyrics3Line object.
setLyric
public void setLyric(java.lang.String lyric)
setLyric
public void setLyric(ObjectID3v2LyricLine line)
getLyric
public java.lang.String getLyric()
getSize
public int getSize()
- Description copied from interface:
MP3Object
- Get the size of this object, in bytes.
- Returns:
- the size
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()
- Description copied from interface:
MP3Object
- Get a string representation of this object.
- Specified by:
toString
in interface MP3Object
- Overrides:
toString
in class java.lang.Object
- Returns:
- string
writeString
public java.lang.String writeString()
- Overrides:
writeString
in class AbstractMP3Object