public class FrameBodyPCNT extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
<Header for 'Play counter', ID: "PCNT"> | |
Counter | $xx xx xx xx (xx ...) |
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyPCNT()
Creates a new FrameBodyPCNT datatype.
|
FrameBodyPCNT(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyPCNT datatype.
|
FrameBodyPCNT(FrameBodyPCNT body) |
FrameBodyPCNT(long counter)
Creates a new FrameBodyPCNT datatype.
|
Modifier and Type | Method and Description |
---|---|
long |
getCounter() |
String |
getIdentifier()
The ID3v2 frame identifier
|
void |
setCounter(long counter)
Set the play counter of this file
|
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 FrameBodyPCNT()
public FrameBodyPCNT(FrameBodyPCNT body)
public FrameBodyPCNT(long counter)
counter
- public FrameBodyPCNT(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
- if unable to create framebody from bufferpublic long getCounter()
public void setCounter(long counter)
counter
- public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.