FrameBodySIGNpublic class FrameBodySIGN extends AbstractID3v2FrameBody implements ID3v24FrameBody
Constructors Summary |
---|
public FrameBodySIGN()Creates a new FrameBodySIGN datatype.
// this.setObject("Group Symbol", new Byte((byte) 0));
// this.setObject("Signature", new byte[0]);
| public FrameBodySIGN(FrameBodySIGN body)
super(body);
| public FrameBodySIGN(byte groupSymbol, byte[] signature)Creates a new FrameBodySIGN datatype.
this.setObjectValue(DataTypes.OBJ_GROUP_SYMBOL, groupSymbol);
this.setObjectValue(DataTypes.OBJ_SIGNATURE, signature);
| public FrameBodySIGN(ByteBuffer byteBuffer, int frameSize)Creates a new FrameBodySIGN datatype.
super(byteBuffer, frameSize);
|
Methods Summary |
---|
public byte | getGroupSymbol()
if (getObjectValue(DataTypes.OBJ_GROUP_SYMBOL) != null)
{
return (Byte) getObjectValue(DataTypes.OBJ_GROUP_SYMBOL);
}
else
{
return (byte) 0;
}
| public java.lang.String | getIdentifier()The ID3v2 frame identifier
return ID3v24Frames.FRAME_ID_SIGNATURE;
| public byte[] | getSignature()
return (byte[]) getObjectValue(DataTypes.OBJ_SIGNATURE);
| public void | setGroupSymbol(byte groupSymbol)
setObjectValue(DataTypes.OBJ_GROUP_SYMBOL, groupSymbol);
| public void | setSignature(byte[] signature)
setObjectValue(DataTypes.OBJ_SIGNATURE, signature);
| protected void | setupObjectList()
objectList.add(new NumberFixedLength(DataTypes.OBJ_GROUP_SYMBOL, this, 1));
objectList.add(new ByteArraySizeTerminated(DataTypes.OBJ_SIGNATURE, this));
|
|