public class Lyrics3v2 extends AbstractLyrics3
TYPE_TAG
logger
Constructor and Description |
---|
Lyrics3v2()
Creates a new Lyrics3v2 datatype.
|
Lyrics3v2(AbstractTag mp3tag)
Creates a new Lyrics3v2 datatype.
|
Lyrics3v2(ByteBuffer byteBuffer)
Creates a new Lyrics3v2 datatype.
|
Lyrics3v2(Lyrics3v2 copyObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether another datatype is equal to this tag.
|
Lyrics3v2Field |
getField(String identifier)
Gets the value of the frame identified by identifier
|
int |
getFieldCount() |
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(String identifier) |
Iterator<Lyrics3v2Field> |
iterator() |
void |
read(ByteBuffer byteBuffer) |
void |
removeField(String identifier) |
boolean |
seek(ByteBuffer byteBuffer)
TODO implement
|
boolean |
seek(RandomAccessFile file) |
void |
setField(Lyrics3v2Field field) |
String |
toString() |
void |
updateField(String identifier) |
void |
write(RandomAccessFile file)
Writes the tag to the file
|
delete
isSubsetOf
public Lyrics3v2()
public Lyrics3v2(Lyrics3v2 copyObject)
public Lyrics3v2(AbstractTag mp3tag)
mp3tag
- UnsupportedOperationException
public Lyrics3v2(ByteBuffer byteBuffer) throws TagNotFoundException, IOException
byteBuffer
- TagNotFoundException
IOException
public void setField(Lyrics3v2Field field)
field
- public Lyrics3v2Field getField(String identifier)
identifier
- The three letter codepublic int getFieldCount()
public String getIdentifier()
AbstractTagItem
getIdentifier
in class AbstractTagItem
public int getSize()
AbstractTagItem
getSize
in class AbstractTagItem
public boolean equals(Object obj)
AbstractTag
super.equals(obj)
.equals
in class AbstractTag
obj
- public boolean hasField(String identifier)
identifier
- public Iterator<Lyrics3v2Field> iterator()
iterator
in class AbstractTag
public boolean seek(ByteBuffer byteBuffer)
seek
in class AbstractTag
byteBuffer
- IOException
public void read(ByteBuffer byteBuffer) throws TagException
read
in class AbstractTagItem
byteBuffer
- file to read fromTagException
- on any exception generated by this library.public void removeField(String identifier)
identifier
- public boolean seek(RandomAccessFile file) throws IOException
file
- IOException
public void updateField(String identifier)
identifier
- public void write(RandomAccessFile file) throws IOException
AbstractTag
write
in class AbstractTag
file
- IOException
Copyright © 2005–2020 jthink.net. All rights reserved.