|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.farng.mp3.AbstractMP3FileItem
org.farng.mp3.AbstractMP3FragmentBody
org.farng.mp3.id3.AbstractID3v2FrameBody
org.farng.mp3.id3.FrameBodyUFID
public class FrameBodyUFID
This frame's purpose is to be able to identify the audio file in a
database, that
may provide more information relevant to the content.
Since standardisation of such a database is
beyond this document, all
UFID frames begin with an 'owner identifier' field. It is a null-
terminated string
with a URL [URL] containing an email address, or a
link to a location where an email address can be
found, that belongs
to the organisation responsible for this specific database
implementation. Questions regarding the database should be sent to
the indicated email address. The URL should not be used for the
actual database
queries. The string
"http://www.id3.org/dummy/ufid.html" should be used for tests. The
'Owner identifier' must be non-empty (more than just a termination).
The 'Owner identifier' is then followed by the actual identifier,
which may be up to 64
bytes. There may be more than one "UFID" frame
in a tag, but only one with the same 'Owner
identifier'.
<Header for 'Unique file identifier', ID: "UFID">
Owner identifier <text string> $00
Identifier
<up to 64 bytes binary data>
Constructor Summary | |
---|---|
FrameBodyUFID()
Creates a new FrameBodyUFID object. |
|
FrameBodyUFID(FrameBodyUFID body)
Creates a new FrameBodyUFID object. |
|
FrameBodyUFID(java.io.RandomAccessFile file)
Creates a new FrameBodyUFID object. |
|
FrameBodyUFID(java.lang.String owner,
byte[] identifier)
Creates a new FrameBodyUFID object. |
Method Summary | |
---|---|
java.lang.String |
getIdentifier()
|
java.lang.String |
getOwner()
|
void |
setOwner(java.lang.String owner)
|
protected void |
setupObjectList()
Create the order of MP3Object objects that this body expects. |
Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody |
---|
equals, readHeader, writeHeader |
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody |
---|
appendToObjectList, getBriefDescription, getDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FrameBodyUFID()
public FrameBodyUFID(FrameBodyUFID body)
public FrameBodyUFID(java.lang.String owner, byte[] identifier)
public FrameBodyUFID(java.io.RandomAccessFile file) throws java.io.IOException, InvalidTagException
java.io.IOException
InvalidTagException
Method Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in class AbstractMP3FileItem
public void setOwner(java.lang.String owner)
public java.lang.String getOwner()
protected void setupObjectList()
AbstractMP3FragmentBody
MP3Object
objects that this body expects. This method needs to be overwritten.
setupObjectList
in class AbstractMP3FragmentBody
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |