public class FrameBodyTPOS extends AbstractID3v2FrameBody implements ID3v23FrameBody, ID3v24FrameBody
The 'Part of a set' frame is a numeric string that describes which part of a set the audio came from. This frame is used if the source described in the "TALB" frame is divided into several mediums, e.g. a double CD. The value may be extended with a "/" character and a numeric string containing the total number of parts in the set. e.g. "1/2".
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyTPOS()
Creates a new FrameBodyTRCK datatype.
|
FrameBodyTPOS(java.nio.ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyTRCK datatype.
|
FrameBodyTPOS(byte textEncoding,
java.lang.Integer discNo,
java.lang.Integer discTotal) |
FrameBodyTPOS(byte textEncoding,
java.lang.String text)
Creates a new FrameBodyTRCK datatype, the value is parsed literally
|
FrameBodyTPOS(FrameBodyTPOS body) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getDiscNo() |
java.lang.String |
getDiscNoAsText() |
java.lang.Integer |
getDiscTotal() |
java.lang.String |
getDiscTotalAsText() |
java.lang.String |
getIdentifier()
The ID3v2 frame identifier
|
java.lang.String |
getText() |
java.lang.String |
getUserFriendlyValue() |
void |
setDiscNo(java.lang.Integer discNo) |
void |
setDiscNo(java.lang.String discNo) |
void |
setDiscTotal(java.lang.Integer discTotal) |
void |
setDiscTotal(java.lang.String discTotal) |
void |
setText(java.lang.String text) |
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, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyTPOS()
public FrameBodyTPOS(FrameBodyTPOS body)
public FrameBodyTPOS(byte textEncoding, java.lang.String text)
textEncoding
- text
- public FrameBodyTPOS(byte textEncoding, java.lang.Integer discNo, java.lang.Integer discTotal)
public FrameBodyTPOS(java.nio.ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- java.io.IOException
InvalidTagException
public java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public java.lang.String getUserFriendlyValue()
getUserFriendlyValue
in class AbstractTagFrameBody
public java.lang.String getText()
public java.lang.Integer getDiscNo()
public java.lang.String getDiscNoAsText()
public void setDiscNo(java.lang.Integer discNo)
public void setDiscNo(java.lang.String discNo)
public java.lang.Integer getDiscTotal()
public java.lang.String getDiscTotalAsText()
public void setDiscTotal(java.lang.Integer discTotal)
public void setDiscTotal(java.lang.String discTotal)
public void setText(java.lang.String text)
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005-2013 java.net. All Rights Reserved.