org.jaudiotagger.tag.datatype
Class ID3v2LyricLine
java.lang.Object
org.jaudiotagger.tag.datatype.AbstractDataType
org.jaudiotagger.tag.datatype.ID3v2LyricLine
public class ID3v2LyricLine
- extends AbstractDataType
Field Summary |
(package private) java.lang.String |
text
|
(package private) long |
timeStamp
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
int |
getSize()
This defines the size in bytes of the datatype being
held when read/written to file. |
java.lang.String |
getText()
|
long |
getTimeStamp()
|
void |
readByteArray(byte[] arr,
int offset)
This is the starting point for reading bytes from the file into the ID3 datatype
starting at offset. |
void |
setText(java.lang.String text)
|
void |
setTimeStamp(long timeStamp)
|
java.lang.String |
toString()
|
byte[] |
writeByteArray()
Starting point write ID3 Datatype back to array of bytes. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
java.lang.String text
timeStamp
long timeStamp
ID3v2LyricLine
public ID3v2LyricLine(java.lang.String identifier,
AbstractTagFrameBody frameBody)
ID3v2LyricLine
public ID3v2LyricLine(ID3v2LyricLine copy)
getSize
public int getSize()
- Description copied from class:
AbstractDataType
- This defines the size in bytes of the datatype being
held when read/written to file.
- Specified by:
getSize
in class AbstractDataType
- Returns:
setText
public void setText(java.lang.String text)
getText
public java.lang.String getText()
- Returns:
setTimeStamp
public void setTimeStamp(long timeStamp)
getTimeStamp
public long getTimeStamp()
- Returns:
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class AbstractDataType
- Parameters:
obj
-
- Returns:
readByteArray
public void readByteArray(byte[] arr,
int offset)
throws InvalidDataTypeException
- Description copied from class:
AbstractDataType
- This is the starting point for reading bytes from the file into the ID3 datatype
starting at offset.
This class must be overridden
- Specified by:
readByteArray
in class AbstractDataType
- Parameters:
arr
- offset
-
- Throws:
java.lang.NullPointerException
java.lang.IndexOutOfBoundsException
InvalidDataTypeException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
writeByteArray
public byte[] writeByteArray()
- Description copied from class:
AbstractDataType
- Starting point write ID3 Datatype back to array of bytes.
This class must be overridden.
- Specified by:
writeByteArray
in class AbstractDataType
- Returns: