public class FrameBodyIPLS extends AbstractID3v2FrameBody implements ID3v23FrameBody
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyIPLS()
Creates a new FrameBodyIPLS datatype.
|
FrameBodyIPLS(java.nio.ByteBuffer byteBuffer,
int frameSize) |
FrameBodyIPLS(byte textEncoding,
java.lang.String text)
Creates a new FrameBodyIPLS data type.
|
FrameBodyIPLS(FrameBodyIPLS body) |
FrameBodyIPLS(FrameBodyTIPL body)
Convert from V4 to V3 Frame
|
Modifier and Type | Method and Description |
---|---|
void |
addPair(java.lang.String text) |
java.lang.String |
getIdentifier()
The ID3v23 frame identifier
|
java.lang.String |
getKeyAtIndex(int index)
Get key at index
|
int |
getNumberOfPairs() |
PairedTextEncodedStringNullTerminated.ValuePairs |
getPairing() |
java.lang.String |
getText() |
java.lang.String |
getUserFriendlyValue() |
java.lang.String |
getValueAtIndex(int index)
Get value at index
|
void |
setText(java.lang.String text)
Set the text, decoded as pairs of involvee - involvement
|
protected void |
setupObjectList()
Consists of a text encoding , and then a series of null terminated Strings, there should be an even number
of Strings as they are paired as involvement/involvee
|
void |
write(java.io.ByteArrayOutputStream tagBuffer)
Because have a text encoding we need to check the data values do not contain characters that cannot be encoded in
current encoding before we write data.
|
createStructure, equals, getSize, read, setSize, setSize
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public FrameBodyIPLS()
public FrameBodyIPLS(java.nio.ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
InvalidTagException
public FrameBodyIPLS(FrameBodyIPLS body)
public FrameBodyIPLS(byte textEncoding, java.lang.String text)
textEncoding
- text
- public FrameBodyIPLS(FrameBodyTIPL body)
body
- public java.lang.String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void setText(java.lang.String text)
text
- public void addPair(java.lang.String text)
public void write(java.io.ByteArrayOutputStream tagBuffer)
write
in class AbstractID3v2FrameBody
protected void setupObjectList()
setupObjectList
in class AbstractTagFrameBody
public PairedTextEncodedStringNullTerminated.ValuePairs getPairing()
public java.lang.String getKeyAtIndex(int index)
index
- public java.lang.String getValueAtIndex(int index)
index
- public int getNumberOfPairs()
public java.lang.String getText()
public java.lang.String getUserFriendlyValue()
getUserFriendlyValue
in class AbstractTagFrameBody
Copyright © 2005-2013 java.net. All Rights Reserved.