public class Lyrics3v1 extends AbstractLyrics3
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
lyric |
TYPE_TAG
logger
Constructor and Description |
---|
Lyrics3v1()
Creates a new Lyrics3v1 datatype.
|
Lyrics3v1(AbstractTag mp3Tag) |
Lyrics3v1(java.nio.ByteBuffer byteBuffer)
Creates a new Lyrics3v1 datatype.
|
Lyrics3v1(Lyrics3v1 copyObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether another datatype is equal to this tag.
|
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()
Return size of this item
|
boolean |
isSubsetOf(java.lang.Object obj)
Returns true if this datatype is a subset of the argument.
|
java.util.Iterator |
iterator() |
void |
read(java.nio.ByteBuffer byteBuffer) |
boolean |
seek(java.nio.ByteBuffer byteBuffer)
TODO implement
|
boolean |
seek(java.io.RandomAccessFile file) |
void |
setLyric(java.lang.String lyric) |
java.lang.String |
toString() |
void |
write(java.io.RandomAccessFile file)
Writes the tag to the file
|
delete
public Lyrics3v1()
public Lyrics3v1(Lyrics3v1 copyObject)
public Lyrics3v1(AbstractTag mp3Tag)
public Lyrics3v1(java.nio.ByteBuffer byteBuffer) throws TagNotFoundException, java.io.IOException
file
- byteBuffer
- TagNotFoundException
java.io.IOException
public java.lang.String getIdentifier()
AbstractTagItem
getIdentifier
in class AbstractTagItem
public void setLyric(java.lang.String lyric)
lyric
- public java.lang.String getLyric()
public int getSize()
AbstractTagItem
getSize
in class AbstractTagItem
public boolean isSubsetOf(java.lang.Object obj)
AbstractTagItem
isSubsetOf
in class AbstractTagItem
obj
- public boolean equals(java.lang.Object obj)
AbstractTag
super.equals(obj)
.equals
in class AbstractTag
obj
- public java.util.Iterator iterator()
iterator
in class AbstractTag
java.lang.UnsupportedOperationException
public boolean seek(java.nio.ByteBuffer byteBuffer)
seek
in class AbstractTag
byteBuffer
- java.io.IOException
public void read(java.nio.ByteBuffer byteBuffer) throws TagException
read
in class AbstractTagItem
byteBuffer
- TagNotFoundException
java.io.IOException
TagException
- on any exception generated by this library.public boolean seek(java.io.RandomAccessFile file) throws java.io.IOException
file
- java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public void write(java.io.RandomAccessFile file) throws java.io.IOException
AbstractTag
write
in class AbstractTag
file
- java.io.IOException
Copyright © 2005-2013 java.net. All Rights Reserved.