public class FrameBodyGRID extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
<Header for 'Group ID registration', ID: "GRID"> | |
Owner identifier | <text string> $00 |
Group symbol | $xx |
Group dependent data | <binary data> |
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyGRID()
Creates a new FrameBodyGRID datatype.
|
FrameBodyGRID(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyGRID datatype.
|
FrameBodyGRID(FrameBodyGRID body) |
FrameBodyGRID(String owner,
byte groupSymbol,
byte[] data)
Creates a new FrameBodyGRID datatype.
|
Modifier and Type | Method and Description |
---|---|
byte |
getGroupSymbol() |
String |
getIdentifier()
The ID3v2 frame identifier
|
String |
getOwner() |
void |
setGroupSymbol(byte textEncoding) |
void |
setOwner(String owner) |
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
|
createStructure, equals, getSize, read, setSize, setSize, write
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyGRID()
public FrameBodyGRID(FrameBodyGRID body)
public FrameBodyGRID(String owner, byte groupSymbol, byte[] data)
owner
- groupSymbol
- data
- public FrameBodyGRID(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
- if unable to create framebody from bufferpublic void setGroupSymbol(byte textEncoding)
textEncoding
- public byte getGroupSymbol()
public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void setOwner(String owner)
owner
- public String getOwner()
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.