FrameBodyRBUFpublic class FrameBodyRBUF extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBodyBody of Recommended buffer size frame, generally used for streaming audio |
Fields Summary |
---|
private static int | BUFFER_FIELD_SIZE | private static int | EMBED_FLAG_BIT_POSITION | private static int | OFFSET_FIELD_SIZE |
Constructors Summary |
---|
public FrameBodyRBUF()Creates a new FrameBodyRBUF datatype.
this.setObjectValue(DataTypes.OBJ_BUFFER_SIZE, (byte) 0);
this.setObjectValue(DataTypes.OBJ_EMBED_FLAG, Boolean.FALSE);
this.setObjectValue(DataTypes.OBJ_OFFSET, (byte) 0);
| public FrameBodyRBUF(FrameBodyRBUF body)
super(body);
| public FrameBodyRBUF(byte bufferSize, boolean embeddedInfoFlag, byte offsetToNextTag)Creates a new FrameBodyRBUF datatype.
this.setObjectValue(DataTypes.OBJ_BUFFER_SIZE, bufferSize);
this.setObjectValue(DataTypes.OBJ_EMBED_FLAG, embeddedInfoFlag);
this.setObjectValue(DataTypes.OBJ_OFFSET, offsetToNextTag);
| public FrameBodyRBUF(ByteBuffer byteBuffer, int frameSize)Creates a new FrameBodyRBUF datatype.
super(byteBuffer, frameSize);
|
Methods Summary |
---|
public java.lang.String | getIdentifier()The ID3v2 frame identifier
return ID3v24Frames.FRAME_ID_RECOMMENDED_BUFFER_SIZE;
| protected void | setupObjectList()
objectList.add(new NumberFixedLength(DataTypes.OBJ_BUFFER_SIZE, this, BUFFER_FIELD_SIZE));
objectList.add(new BooleanByte(DataTypes.OBJ_EMBED_FLAG, this, (byte) EMBED_FLAG_BIT_POSITION));
objectList.add(new NumberFixedLength(DataTypes.OBJ_OFFSET, this, OFFSET_FIELD_SIZE));
|
|