public class FrameBodyGEOB extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
<Header for 'General encapsulated object', ID: "GEOB"> | |
Text encoding | $xx |
MIME type | <text string> $00 |
Filename | <text string according to encoding> $00 (00) |
Content description | |
Encapsulated object | <binary data> |
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyGEOB()
Creates a new FrameBodyGEOB datatype.
|
FrameBodyGEOB(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyGEOB datatype.
|
FrameBodyGEOB(byte textEncoding,
String mimeType,
String filename,
String description,
byte[] object)
Creates a new FrameBodyGEOB datatype.
|
FrameBodyGEOB(FrameBodyGEOB body) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getIdentifier()
Return the ID3v2 Frame Identifier, must be implemented by concrete subclasses
|
void |
setDescription(String description) |
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
|
void |
write(ByteArrayOutputStream tagBuffer)
If the filename or description cannot be encoded using current encoder, change the encoder
|
createStructure, equals, getSize, read, setSize, setSize
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyGEOB()
public FrameBodyGEOB(FrameBodyGEOB body)
public FrameBodyGEOB(byte textEncoding, String mimeType, String filename, String description, byte[] object)
textEncoding
- mimeType
- filename
- description
- object
- public FrameBodyGEOB(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
- if unable to create framebody from bufferpublic void setDescription(String description)
description
- public String getDescription()
public String getIdentifier()
AbstractID3v2FrameBody
getIdentifier
in class AbstractID3v2FrameBody
public void write(ByteArrayOutputStream tagBuffer)
write
in class AbstractID3v2FrameBody
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.