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(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyOWNE datatype.
|
FrameBodyOWNE(byte textEncoding,
String pricePaid,
String dateOfPurchase,
String seller)
Creates a new FrameBodyOWNE datatype.
|
FrameBodyOWNE(FrameBodyOWNE body) |
Modifier and Type | Method and Description |
---|---|
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(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, String pricePaid, String dateOfPurchase, String seller)
textEncoding
- pricePaid
- dateOfPurchase
- seller
- public FrameBodyOWNE(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
- if unable to create framebody from bufferpublic String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void write(ByteArrayOutputStream tagBuffer)
write
in class AbstractID3v2FrameBody
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.