org.jaudiotagger.tag.lyrics3
Class AbstractLyrics3v2FieldFrameBody

java.lang.Object
  extended by org.jaudiotagger.tag.id3.AbstractTagItem
      extended by org.jaudiotagger.tag.id3.AbstractTagFrameBody
          extended by org.jaudiotagger.tag.lyrics3.AbstractLyrics3v2FieldFrameBody
Direct Known Subclasses:
FieldFrameBodyAUT, FieldFrameBodyEAL, FieldFrameBodyEAR, FieldFrameBodyETT, FieldFrameBodyIMG, FieldFrameBodyIND, FieldFrameBodyINF, FieldFrameBodyLYR, FieldFrameBodyUnsupported

public abstract class AbstractLyrics3v2FieldFrameBody
extends AbstractTagFrameBody


Field Summary
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
logger
 
Constructor Summary
AbstractLyrics3v2FieldFrameBody()
           
AbstractLyrics3v2FieldFrameBody(AbstractLyrics3v2FieldFrameBody copyObject)
           
 
Method Summary
 void read(java.nio.ByteBuffer byteBuffer)
          This reads a frame body from its file into the appropriate FrameBody class Read the data from the given file into this datatype.
 void write(java.io.RandomAccessFile file)
          Write the contents of this datatype to the file at the position it is currently at.
 
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
createStructure, equals, getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getSize, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
 
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
getIdentifier
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractLyrics3v2FieldFrameBody

public AbstractLyrics3v2FieldFrameBody()

AbstractLyrics3v2FieldFrameBody

public AbstractLyrics3v2FieldFrameBody(AbstractLyrics3v2FieldFrameBody copyObject)
Method Detail

read

public void read(java.nio.ByteBuffer byteBuffer)
          throws InvalidTagException
This reads a frame body from its file into the appropriate FrameBody class Read the data from the given file into this datatype. The file needs to have its file pointer in the correct location. The size as indicated in the header is passed to the frame constructor when reading from file.

Specified by:
read in class AbstractTagItem
Parameters:
byteBuffer - file to read
Throws:
java.io.IOException - on any I/O error
InvalidTagException - if there is any error in the data format.

write

public void write(java.io.RandomAccessFile file)
           throws java.io.IOException
Write the contents of this datatype to the file at the position it is currently at.

Parameters:
file - destination file
Throws:
java.io.IOException - on any I/O error