org.jaudiotagger.tag.lyrics3
Class Lyrics3v2Field

java.lang.Object
  extended by org.jaudiotagger.tag.id3.AbstractTagItem
      extended by org.jaudiotagger.tag.id3.AbstractTagFrame
          extended by org.jaudiotagger.tag.lyrics3.Lyrics3v2Field

public class Lyrics3v2Field
extends AbstractTagFrame


Field Summary
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrame
frameBody
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
logger
 
Constructor Summary
Lyrics3v2Field()
          Creates a new Lyrics3v2Field datatype.
Lyrics3v2Field(AbstractID3v2Frame frame)
          Creates a new Lyrics3v2Field datatype.
Lyrics3v2Field(AbstractLyrics3v2FieldFrameBody body)
          Creates a new Lyrics3v2Field datatype.
Lyrics3v2Field(java.nio.ByteBuffer byteBuffer)
          Creates a new Lyrics3v2Field datatype.
Lyrics3v2Field(Lyrics3v2Field copyObject)
           
 
Method Summary
 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
 void read(java.nio.ByteBuffer byteBuffer)
           
private  AbstractLyrics3v2FieldFrameBody readBody(java.lang.String identifier, java.nio.ByteBuffer byteBuffer)
          Read a Lyrics3 Field from a file.
 java.lang.String toString()
           
 void write(java.io.RandomAccessFile file)
           
 
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrame
equals, getBody, isSubsetOf, setBody
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lyrics3v2Field

public Lyrics3v2Field()
Creates a new Lyrics3v2Field datatype.


Lyrics3v2Field

public Lyrics3v2Field(Lyrics3v2Field copyObject)

Lyrics3v2Field

public Lyrics3v2Field(AbstractLyrics3v2FieldFrameBody body)
Creates a new Lyrics3v2Field datatype.

Parameters:
body -

Lyrics3v2Field

public Lyrics3v2Field(AbstractID3v2Frame frame)
               throws TagException
Creates a new Lyrics3v2Field datatype.

Parameters:
frame -
Throws:
TagException

Lyrics3v2Field

public Lyrics3v2Field(java.nio.ByteBuffer byteBuffer)
               throws InvalidTagException
Creates a new Lyrics3v2Field datatype.

Parameters:
file -
byteBuffer -
Throws:
InvalidTagException
Method Detail

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: AbstractTagItem
ID string that usually corresponds to the class name, but can be displayed to the user. It is not indended to identify each individual instance.

Specified by:
getIdentifier in class AbstractTagItem
Returns:

getSize

public int getSize()
Description copied from class: AbstractTagItem
Return size of this item

Specified by:
getSize in class AbstractTagItem
Returns:

read

public void read(java.nio.ByteBuffer byteBuffer)
          throws InvalidTagException
Specified by:
read in class AbstractTagItem
Parameters:
byteBuffer -
Throws:
InvalidTagException
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:

write

public void write(java.io.RandomAccessFile file)
           throws java.io.IOException
Parameters:
file -
Throws:
java.io.IOException

readBody

private AbstractLyrics3v2FieldFrameBody readBody(java.lang.String identifier,
                                                 java.nio.ByteBuffer byteBuffer)
                                          throws InvalidTagException
Read a Lyrics3 Field from a file.

Parameters:
identifier -
byteBuffer -
Returns:
Throws:
InvalidTagException