org.jaudiotagger.tag.id3.framebody
Class FrameBodyRBUF

java.lang.Object
  extended by org.jaudiotagger.tag.id3.AbstractTagItem
      extended by org.jaudiotagger.tag.id3.AbstractTagFrameBody
          extended by org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
              extended by org.jaudiotagger.tag.id3.framebody.FrameBodyRBUF
All Implemented Interfaces:
ID3v23FrameBody, ID3v24FrameBody

public class FrameBodyRBUF
extends AbstractID3v2FrameBody
implements ID3v24FrameBody, ID3v23FrameBody

Body of Recommended buffer size frame, generally used for streaming audio


Field Summary
private static int BUFFER_FIELD_SIZE
           
private static int EMBED_FLAG_BIT_POSITION
           
private static int OFFSET_FIELD_SIZE
           
 
Fields inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
TYPE_BODY
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
objectList
 
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem
logger
 
Constructor Summary
FrameBodyRBUF()
          Creates a new FrameBodyRBUF datatype.
FrameBodyRBUF(byte bufferSize, boolean embeddedInfoFlag, byte offsetToNextTag)
          Creates a new FrameBodyRBUF datatype.
FrameBodyRBUF(java.nio.ByteBuffer byteBuffer, int frameSize)
          Creates a new FrameBodyRBUF datatype.
FrameBodyRBUF(FrameBodyRBUF body)
           
 
Method Summary
 java.lang.String getIdentifier()
          The ID3v2 frame identifier
protected  void setupObjectList()
          Create the list of Datatypes that this body expects in the correct order This method needs to be implemented by concrete subclasses
 
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
createStructure, equals, getSize, read, setSize, setSize, write
 
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUFFER_FIELD_SIZE

private static int BUFFER_FIELD_SIZE

EMBED_FLAG_BIT_POSITION

private static int EMBED_FLAG_BIT_POSITION

OFFSET_FIELD_SIZE

private static int OFFSET_FIELD_SIZE
Constructor Detail

FrameBodyRBUF

public FrameBodyRBUF()
Creates a new FrameBodyRBUF datatype.


FrameBodyRBUF

public FrameBodyRBUF(FrameBodyRBUF body)

FrameBodyRBUF

public FrameBodyRBUF(byte bufferSize,
                     boolean embeddedInfoFlag,
                     byte offsetToNextTag)
Creates a new FrameBodyRBUF datatype.

Parameters:
bufferSize -
embeddedInfoFlag -
offsetToNextTag -

FrameBodyRBUF

public FrameBodyRBUF(java.nio.ByteBuffer byteBuffer,
                     int frameSize)
              throws InvalidTagException
Creates a new FrameBodyRBUF datatype.

Parameters:
byteBuffer -
frameSize -
Throws:
InvalidTagException - if unable to create framebody from buffer
Method Detail

getIdentifier

public java.lang.String getIdentifier()
The ID3v2 frame identifier

Specified by:
getIdentifier in class AbstractID3v2FrameBody
Returns:
the ID3v2 frame identifier for this frame type

setupObjectList

protected void setupObjectList()
Description copied from class: AbstractTagFrameBody
Create the list of Datatypes that this body expects in the correct order This method needs to be implemented by concrete subclasses

Specified by:
setupObjectList in class AbstractTagFrameBody