|
|||||||||
| 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.AbstractTag
org.jaudiotagger.tag.lyrics3.AbstractLyrics3
org.jaudiotagger.tag.lyrics3.Lyrics3v2
public class Lyrics3v2
| Field Summary | |
|---|---|
private java.util.HashMap<java.lang.String,Lyrics3v2Field> |
fieldMap
|
| Fields inherited from class org.jaudiotagger.tag.id3.AbstractTag |
|---|
TYPE_TAG |
| Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
|---|
logger |
| Constructor Summary | |
|---|---|
Lyrics3v2()
Creates a new Lyrics3v2 datatype. |
|
Lyrics3v2(AbstractTag mp3tag)
Creates a new Lyrics3v2 datatype. |
|
Lyrics3v2(java.nio.ByteBuffer byteBuffer)
Creates a new Lyrics3v2 datatype. |
|
Lyrics3v2(Lyrics3v2 copyObject)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether another datatype is equal to this tag. |
Lyrics3v2Field |
getField(java.lang.String identifier)
Gets the value of the frame identified by identifier |
int |
getFieldCount()
|
java.lang.String |
getIdentifier()
ID string that usually corresponds to the class name, but can be displayed to the user. |
int |
getSize()
Return size of this item |
boolean |
hasField(java.lang.String identifier)
|
java.util.Iterator<Lyrics3v2Field> |
iterator()
|
void |
read(java.nio.ByteBuffer byteBuffer)
|
void |
removeField(java.lang.String identifier)
|
boolean |
seek(java.nio.ByteBuffer byteBuffer)
TODO implement |
boolean |
seek(java.io.RandomAccessFile file)
|
private int |
seekSize(java.nio.ByteBuffer byteBuffer)
TODO |
void |
setField(Lyrics3v2Field field)
|
java.lang.String |
toString()
|
void |
updateField(java.lang.String identifier)
|
void |
write(java.io.RandomAccessFile file)
Writes the tag to the file |
| Methods inherited from class org.jaudiotagger.tag.lyrics3.AbstractLyrics3 |
|---|
delete |
| Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
|---|
isSubsetOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.util.HashMap<java.lang.String,Lyrics3v2Field> fieldMap
| Constructor Detail |
|---|
public Lyrics3v2()
public Lyrics3v2(Lyrics3v2 copyObject)
public Lyrics3v2(AbstractTag mp3tag)
mp3tag -
java.lang.UnsupportedOperationException
public Lyrics3v2(java.nio.ByteBuffer byteBuffer)
throws TagNotFoundException,
java.io.IOException
file - byteBuffer -
TagNotFoundException
java.io.IOException| Method Detail |
|---|
public void setField(Lyrics3v2Field field)
field - public Lyrics3v2Field getField(java.lang.String identifier)
identifier - The three letter code
public int getFieldCount()
public java.lang.String getIdentifier()
AbstractTagItem
getIdentifier in class AbstractTagItempublic int getSize()
AbstractTagItem
getSize in class AbstractTagItempublic boolean equals(java.lang.Object obj)
AbstractTagsuper.equals(obj).
equals in class AbstractTagobj -
public boolean hasField(java.lang.String identifier)
identifier -
public java.util.Iterator<Lyrics3v2Field> iterator()
iterator in class AbstractTagpublic boolean seek(java.nio.ByteBuffer byteBuffer)
seek in class AbstractTagbyteBuffer -
java.io.IOException
public void read(java.nio.ByteBuffer byteBuffer)
throws TagException
read in class AbstractTagItembyteBuffer - file to read from
TagException - on any exception generated by this library.public void removeField(java.lang.String identifier)
identifier -
public boolean seek(java.io.RandomAccessFile file)
throws java.io.IOException
file -
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void updateField(java.lang.String identifier)
identifier -
public void write(java.io.RandomAccessFile file)
throws java.io.IOException
AbstractTag
write in class AbstractTagfile -
java.io.IOExceptionprivate int seekSize(java.nio.ByteBuffer byteBuffer)
byteBuffer -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||