|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaudiotagger.tag.id3.AbstractTagItem
org.jaudiotagger.tag.id3.AbstractTagFrameBody
org.jaudiotagger.tag.lyrics3.AbstractLyrics3v2FieldFrameBody
org.jaudiotagger.tag.lyrics3.FieldFrameBodyLYR
public class FieldFrameBodyLYR
| Field Summary | |
|---|---|
private java.util.ArrayList<Lyrics3Line> |
lines
|
| Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
|---|
objectList |
| Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
|---|
logger |
| Constructor Summary | |
|---|---|
FieldFrameBodyLYR()
Creates a new FieldBodyLYR datatype. |
|
FieldFrameBodyLYR(java.nio.ByteBuffer byteBuffer)
Creates a new FieldBodyLYR datatype. |
|
FieldFrameBodyLYR(FieldFrameBodyLYR copyObject)
|
|
FieldFrameBodyLYR(FrameBodySYLT sync)
Creates a new FieldBodyLYR datatype. |
|
FieldFrameBodyLYR(FrameBodyUSLT unsync)
Creates a new FieldBodyLYR datatype. |
|
FieldFrameBodyLYR(java.lang.String line)
Creates a new FieldBodyLYR datatype. |
|
| Method Summary | |
|---|---|
void |
addLyric(FrameBodySYLT sync)
|
void |
addLyric(FrameBodyUSLT unsync)
|
boolean |
equals(java.lang.Object obj)
Returns true if this datatype and its entire DataType array list equals the argument. |
java.lang.String |
getIdentifier()
ID string that usually corresponds to the class name, but can be displayed to the user. |
java.lang.String |
getLyric()
|
int |
getSize()
Returns the size in bytes of this fragmentbody |
boolean |
hasTimeStamp()
|
boolean |
isSubsetOf(java.lang.Object obj)
Returns true if this instance and its entire DataType array list is a subset of the argument. |
java.util.Iterator<Lyrics3Line> |
iterator()
Returns an iterator of the DataType list. |
void |
read(java.nio.ByteBuffer byteBuffer)
This reads a frame body from its file into the appropriate FrameBody class Read the data from the given file into this datatype. |
private void |
readString(java.lang.String lineString)
|
void |
setLyric(java.lang.String str)
|
protected void |
setupObjectList()
TODO |
java.lang.String |
toString()
Return brief description of FrameBody |
void |
write(java.io.RandomAccessFile file)
Write the contents of this datatype to the file at the position it is currently at. |
private java.lang.String |
writeString()
|
| Methods inherited from class org.jaudiotagger.tag.lyrics3.AbstractLyrics3v2FieldFrameBody |
|---|
readHeader, writeHeader |
| Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
|---|
createStructure, getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, setHeader, setObjectValue, setTextEncoding |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.util.ArrayList<Lyrics3Line> lines
| Constructor Detail |
|---|
public FieldFrameBodyLYR()
public FieldFrameBodyLYR(FieldFrameBodyLYR copyObject)
public FieldFrameBodyLYR(java.lang.String line)
line - public FieldFrameBodyLYR(FrameBodySYLT sync)
sync - public FieldFrameBodyLYR(FrameBodyUSLT unsync)
unsync -
public FieldFrameBodyLYR(java.nio.ByteBuffer byteBuffer)
throws InvalidTagException
byteBuffer -
InvalidTagException| Method Detail |
|---|
public java.lang.String getIdentifier()
AbstractTagItem
getIdentifier in class AbstractTagItempublic void setLyric(java.lang.String str)
str - public java.lang.String getLyric()
public int getSize()
AbstractTagFrameBody
getSize in class AbstractTagFrameBodypublic boolean isSubsetOf(java.lang.Object obj)
AbstractTagFrameBody
isSubsetOf in class AbstractTagFrameBodyobj -
public void addLyric(FrameBodySYLT sync)
sync - public void addLyric(FrameBodyUSLT unsync)
unsync - public boolean equals(java.lang.Object obj)
AbstractTagFrameBody
equals in class AbstractTagFrameBodyobj -
public boolean hasTimeStamp()
public java.util.Iterator<Lyrics3Line> iterator()
AbstractTagFrameBody
iterator in class AbstractTagFrameBody
public void read(java.nio.ByteBuffer byteBuffer)
throws InvalidTagException
AbstractLyrics3v2FieldFrameBody
read in class AbstractLyrics3v2FieldFrameBodybyteBuffer - file to read
InvalidTagException - if there is any error in the data format.public java.lang.String toString()
AbstractTagFrameBody
toString in class AbstractTagFrameBody
public void write(java.io.RandomAccessFile file)
throws java.io.IOException
AbstractLyrics3v2FieldFrameBody
write in class AbstractLyrics3v2FieldFrameBodyfile -
java.io.IOExceptionprivate void readString(java.lang.String lineString)
lineString - private java.lang.String writeString()
protected void setupObjectList()
setupObjectList in class AbstractTagFrameBody
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||