|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.farng.mp3.AbstractMP3FileItem org.farng.mp3.AbstractMP3FragmentBody org.farng.mp3.id3.AbstractID3v2FrameBody org.farng.mp3.id3.FrameBodyCOMR
This frame enables several competing offers in the same tag by
The price string is followed by an 8 character date string in the
format YYYYMMDD,
describing for how long the price is valid. After
that is a contact URL, with which the user can
contact the seller,
followed by a one byte 'received as' field. It describes how the
audio is delivered when bought according to the following list:
$00 Other
$01 Standard CD album with other songs
$02 Compressed
audio on CD
Next follows a terminated string with the name of the seller followed
by a
terminated string with a short description of the product. The
last thing is the ability to include
a company logotype. The first of
them is the 'Picture MIME type' field containing information
about
which picture format is used. In the event that the MIME media type
<Header for 'Commercial frame', ID: "COMR">
Text encoding $xx
Constructor Summary | |
FrameBodyCOMR()
Creates a new FrameBodyCOMR object. |
|
FrameBodyCOMR(byte textEncoding,
java.lang.String priceString,
java.lang.String validUntil,
java.lang.String contactUrl,
byte recievedAs,
java.lang.String nameOfSeller,
java.lang.String description,
java.lang.String mimeType,
byte[] sellerLogo)
Creates a new FrameBodyCOMR object. |
|
FrameBodyCOMR(FrameBodyCOMR body)
Creates a new FrameBodyCOMR object. |
|
FrameBodyCOMR(java.io.RandomAccessFile file)
Creates a new FrameBodyCOMR object. |
Method Summary | |
java.lang.String |
getIdentifier()
ID string that usually corresponds to the class name, but can be displayed to the user. |
java.lang.String |
getOwner()
|
void |
getOwner(java.lang.String description)
|
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 FrameBodyCOMR()
public FrameBodyCOMR(FrameBodyCOMR body)
public FrameBodyCOMR(byte textEncoding, java.lang.String priceString, java.lang.String validUntil, java.lang.String contactUrl, byte recievedAs, java.lang.String nameOfSeller, java.lang.String description, java.lang.String mimeType, byte[] sellerLogo)
public FrameBodyCOMR(java.io.RandomAccessFile file) throws java.io.IOException, InvalidTagException
Method Detail |
public java.lang.String getIdentifier()
AbstractMP3FileItem
getIdentifier
in class AbstractMP3FileItem
public java.lang.String getOwner()
public void getOwner(java.lang.String description)
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 | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |