public class Lyrics3v1 extends AbstractLyrics3
TYPE_TAG
logger
Constructor and Description |
---|
Lyrics3v1()
Creates a new Lyrics3v1 datatype.
|
Lyrics3v1(AbstractTag mp3Tag) |
Lyrics3v1(ByteBuffer byteBuffer)
Creates a new Lyrics3v1 datatype.
|
Lyrics3v1(Lyrics3v1 copyObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether another datatype is equal to this tag.
|
String |
getIdentifier()
ID string that usually corresponds to the class name, but can be
displayed to the user.
|
String |
getLyric() |
int |
getSize()
Return size of this item
|
boolean |
isSubsetOf(Object obj)
Returns true if this datatype is a subset of the argument.
|
Iterator |
iterator() |
void |
read(ByteBuffer byteBuffer) |
boolean |
seek(ByteBuffer byteBuffer)
TODO implement
|
boolean |
seek(RandomAccessFile file) |
void |
setLyric(String lyric) |
String |
toString() |
void |
write(RandomAccessFile file)
Writes the tag to the file
|
delete
public Lyrics3v1()
public Lyrics3v1(Lyrics3v1 copyObject)
public Lyrics3v1(AbstractTag mp3Tag)
public Lyrics3v1(ByteBuffer byteBuffer) throws TagNotFoundException, IOException
byteBuffer
- TagNotFoundException
IOException
public String getIdentifier()
AbstractTagItem
getIdentifier
in class AbstractTagItem
public void setLyric(String lyric)
lyric
- public String getLyric()
public int getSize()
AbstractTagItem
getSize
in class AbstractTagItem
public boolean isSubsetOf(Object obj)
AbstractTagItem
isSubsetOf
in class AbstractTagItem
obj
- public boolean equals(Object obj)
AbstractTag
super.equals(obj)
.equals
in class AbstractTag
obj
- public Iterator iterator()
iterator
in class AbstractTag
UnsupportedOperationException
public boolean seek(ByteBuffer byteBuffer)
seek
in class AbstractTag
byteBuffer
- IOException
public void read(ByteBuffer byteBuffer) throws TagException
read
in class AbstractTagItem
byteBuffer
- TagNotFoundException
IOException
TagException
- on any exception generated by this library.public boolean seek(RandomAccessFile file) throws IOException
file
- IOException
public void write(RandomAccessFile file) throws IOException
AbstractTag
write
in class AbstractTag
file
- IOException
Copyright © 2005–2020 jthink.net. All rights reserved.