|
||||||||||
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.FrameBodyOWNE
public class FrameBodyOWNE
Ownership frame.
The ownership frame might be used as a reminder of a made transaction or, if signed, as proof. Note that the "USER" and "TOWN" frames are good to use in conjunction with this one. The frame begins, after the frame ID, size and encoding fields, with a 'price payed' field. The first three characters of this field contains the currency used for the transaction, encoded according to ISO-4217 alphabetic currency code. Concatenated to this is the actual price payed, as a numerical string using "." as the decimal separator. Next is an 8 character date string (YYYYMMDD) followed by a string with the name of the seller as the last field in the frame. There may only be one "OWNE" frame in a tag.
<Header for 'Ownership frame', ID: "OWNE"> | |
Text encoding | $xx |
Price payed | <text string> $00 |
Date of purch. | <text string> |
Seller | <text string according to encoding> |
For more details, please refer to the ID3 specifications:
Field Summary |
---|
Fields inherited from class org.jaudiotagger.tag.id3.AbstractTagItem |
---|
logger |
Constructor Summary | |
---|---|
FrameBodyOWNE()
Creates a new FrameBodyOWNE datatype. |
|
FrameBodyOWNE(java.nio.ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyOWNE datatype. |
|
FrameBodyOWNE(byte textEncoding,
java.lang.String pricePaid,
java.lang.String dateOfPurchase,
java.lang.String seller)
Creates a new FrameBodyOWNE datatype. |
|
FrameBodyOWNE(FrameBodyOWNE body)
|
Method Summary | |
---|---|
java.lang.String |
getIdentifier()
The ID3v2 frame identifier |
void |
write(java.io.ByteArrayOutputStream tagBuffer)
If the seller name cannot be encoded using current encoder, change the encoder |
Methods inherited from class org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody |
---|
createStructure, equals, getSize, read, setSize, setSize |
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
---|
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FrameBodyOWNE()
public FrameBodyOWNE(FrameBodyOWNE body)
public FrameBodyOWNE(byte textEncoding, java.lang.String pricePaid, java.lang.String dateOfPurchase, java.lang.String seller)
textEncoding
- pricePaid
- dateOfPurchase
- seller
- public FrameBodyOWNE(java.nio.ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
InvalidTagException
- if unable to create framebody from bufferMethod Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void write(java.io.ByteArrayOutputStream tagBuffer)
write
in class AbstractID3v2FrameBody
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |