public class FrameBodyUFID extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
Modifier and Type | Field and Description |
---|---|
static String |
UFID_ID3TEST |
static String |
UFID_MUSICBRAINZ |
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyUFID()
Creates a new FrameBodyUFID datatype.
|
FrameBodyUFID(ByteBuffer byteBuffer,
int frameSize)
Creates FrameBodyUFID datatype from buffer
|
FrameBodyUFID(FrameBodyUFID body) |
FrameBodyUFID(String owner,
byte[] uniqueIdentifier)
Creates a new FrameBodyUFID datatype.
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
The ID3v2 frame identifier
|
String |
getOwner() |
byte[] |
getUniqueIdentifier() |
void |
setOwner(String owner)
Set the owner of url of the the database that this ufid is stored in
|
void |
setUniqueIdentifier(byte[] uniqueIdentifier)
Set the unique identifier (within the owners domain)
|
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 static final String UFID_MUSICBRAINZ
public static final String UFID_ID3TEST
public FrameBodyUFID()
public FrameBodyUFID(FrameBodyUFID body)
public FrameBodyUFID(String owner, byte[] uniqueIdentifier)
owner
- url of the databaseuniqueIdentifier
- unique identifierpublic FrameBodyUFID(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void setOwner(String owner)
owner
- should be a valid urlpublic String getOwner()
public void setUniqueIdentifier(byte[] uniqueIdentifier)
uniqueIdentifier
- public byte[] getUniqueIdentifier()
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.