public class FrameBodyOWNE extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
<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:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdentifier()
The ID3v2 frame identifier
|
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
|
void |
write(java.io.ByteArrayOutputStream tagBuffer)
If the seller name cannot be encoded using current encoder, change the encoder
|
createStructure, equals, getSize, read, setSize, setSize
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
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
byteBuffer
- frameSize
- InvalidTagException
- if unable to create framebody from bufferpublic java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void write(java.io.ByteArrayOutputStream tagBuffer)
write
in class AbstractID3v2FrameBody
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005-2013 java.net. All Rights Reserved.