public class FrameBodyENCR extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
<Header for 'Encryption method registration', ID: "ENCR"> | |
Owner identifier | <text string> $00 |
Method symbol | $xx |
Encryption data | <binary data> |
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyENCR()
Creates a new FrameBodyENCR datatype.
|
FrameBodyENCR(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyENCR datatype.
|
FrameBodyENCR(FrameBodyENCR body) |
FrameBodyENCR(String owner,
byte methodSymbol,
byte[] data)
Creates a new FrameBodyENCR datatype.
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
The ID3v2 frame identifier
|
String |
getOwner() |
void |
setOwner(String owner) |
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
|
createStructure, equals, getSize, read, setSize, setSize, write
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyENCR()
public FrameBodyENCR(FrameBodyENCR body)
public FrameBodyENCR(String owner, byte methodSymbol, byte[] data)
owner
- methodSymbol
- data
- public FrameBodyENCR(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
- if unable to create framebody from bufferpublic String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void setOwner(String owner)
owner
- public String getOwner()
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.