|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaudiotagger.tag.id3.AbstractTagItem
org.jaudiotagger.tag.id3.AbstractTagFrameBody
org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
org.jaudiotagger.tag.id3.framebody.FrameBodyUFID
public class FrameBodyUFID
A UFID Framebody consists of an owner that identifies the server hosting the unique identifier database, and the unique identifier itself which can be up to 64 bytes in length.
| Field Summary | |
|---|---|
static java.lang.String |
UFID_ID3TEST
|
static java.lang.String |
UFID_MUSICBRAINZ
|
| Fields inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
|---|
TYPE_BODY |
| Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
|---|
objectList |
| Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
|---|
logger |
| Constructor Summary | |
|---|---|
FrameBodyUFID()
Creates a new FrameBodyUFID datatype. |
|
FrameBodyUFID(java.nio.ByteBuffer byteBuffer,
int frameSize)
Creates FrameBodyUFID datatype from buffer |
|
FrameBodyUFID(FrameBodyUFID body)
|
|
FrameBodyUFID(java.lang.String owner,
byte[] uniqueIdentifier)
Creates a new FrameBodyUFID datatype. |
|
| Method Summary | |
|---|---|
java.lang.String |
getIdentifier()
The ID3v2 frame identifier |
java.lang.String |
getOwner()
|
byte[] |
getUniqueIdentifier()
|
void |
setOwner(java.lang.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 |
| Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
|---|
createStructure, equals, getSize, read, setSize, setSize, write |
| Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
|---|
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String UFID_MUSICBRAINZ
public static final java.lang.String UFID_ID3TEST
| Constructor Detail |
|---|
public FrameBodyUFID()
public FrameBodyUFID(FrameBodyUFID body)
public FrameBodyUFID(java.lang.String owner,
byte[] uniqueIdentifier)
owner - url of the databaseuniqueIdentifier - unique identifier
public FrameBodyUFID(java.nio.ByteBuffer byteBuffer,
int frameSize)
throws InvalidTagException
byteBuffer - frameSize -
InvalidTagException| Method Detail |
|---|
public java.lang.String getIdentifier()
getIdentifier in class AbstractID3v2FrameBodypublic void setOwner(java.lang.String owner)
owner - should be a valid urlpublic java.lang.String getOwner()
public void setUniqueIdentifier(byte[] uniqueIdentifier)
uniqueIdentifier - public byte[] getUniqueIdentifier()
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList in class AbstractTagFrameBody
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||