public class FrameBodyTPOS extends AbstractFrameBodyNumberTotal 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(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyTRCK datatype.
|
FrameBodyTPOS(byte textEncoding,
Integer discNo,
Integer discTotal) |
FrameBodyTPOS(byte textEncoding,
String text)
Creates a new FrameBodyTRCK datatype, the value is parsed literally
|
FrameBodyTPOS(FrameBodyTPOS body) |
Modifier and Type | Method and Description |
---|---|
Integer |
getDiscNo() |
String |
getDiscNoAsText() |
Integer |
getDiscTotal() |
String |
getDiscTotalAsText() |
String |
getIdentifier()
The ID3v2 frame identifier
|
void |
setDiscNo(Integer discNo) |
void |
setDiscNo(String discNo) |
void |
setDiscTotal(Integer discTotal) |
void |
setDiscTotal(String discTotal) |
getNumber, getNumberAsText, getText, getTotal, getTotalAsText, getUserFriendlyValue, setNumber, setNumber, setText, setTotal, setTotal, setupObjectList
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, String text)
textEncoding
- text
- public FrameBodyTPOS(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- IOException
InvalidTagException
public String getIdentifier()
getIdentifier
in class AbstractFrameBodyNumberTotal
public Integer getDiscNo()
public String getDiscNoAsText()
public void setDiscNo(Integer discNo)
public void setDiscNo(String discNo)
public Integer getDiscTotal()
public String getDiscTotalAsText()
public void setDiscTotal(Integer discTotal)
public void setDiscTotal(String discTotal)
Copyright © 2005–2020 jthink.net. All rights reserved.