public class FrameBodyLINK extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody
<Header for 'Linked information', ID: "LINK"> | |
Frame identifier | $xx xx xx |
URL | <text string> $00 |
ID and additional data | <text string(s)> |
The "TXXX", "APIC", "GEOB" and "AENC" frames may be linked with the content descriptor as additional ID data.
The "COMM", "SYLT" and "USLT" frames may be linked with three bytes of language descriptor directly followed by a content descriptor as additional ID data.
For more details, please refer to the ID3 specifications:
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyLINK()
Creates a new FrameBodyLINK datatype.
|
FrameBodyLINK(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyLINK datatype.
|
FrameBodyLINK(FrameBodyLINK body) |
FrameBodyLINK(String frameIdentifier,
String url,
String additionalData)
Creates a new FrameBodyLINK datatype.
|
Modifier and Type | Method and Description |
---|---|
String |
getAdditionalData() |
void |
getAdditionalData(String additionalData) |
String |
getFrameIdentifier() |
void |
getFrameIdentifier(String frameIdentifier) |
String |
getIdentifier()
The ID3v2 frame identifier
|
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 FrameBodyLINK()
public FrameBodyLINK(FrameBodyLINK body)
public FrameBodyLINK(String frameIdentifier, String url, String additionalData)
frameIdentifier
- url
- additionalData
- public FrameBodyLINK(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
- if unable to create framebody from bufferpublic String getAdditionalData()
public void getAdditionalData(String additionalData)
additionalData
- public String getFrameIdentifier()
public void getFrameIdentifier(String frameIdentifier)
frameIdentifier
- public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
protected void setupObjectList()
AbstractTagFrameBody
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.