public class FrameBodyWXXX extends AbstractFrameBodyUrlLink implements ID3v24FrameBody, ID3v23FrameBody
Modifier and Type | Field and Description |
---|---|
static String |
URL_DISCOGS_ARTIST_SITE |
static String |
URL_DISCOGS_RELEASE_SITE |
static String |
URL_LYRICS_SITE |
static String |
URL_OFFICIAL_RELEASE_SITE |
static String |
URL_WIKIPEDIA_ARTIST_SITE |
static String |
URL_WIKIPEDIA_RELEASE_SITE |
TYPE_BODY
objectList
logger
Constructor and Description |
---|
FrameBodyWXXX()
Creates a new FrameBodyWXXX datatype.
|
FrameBodyWXXX(ByteBuffer byteBuffer,
int frameSize)
Creates a new FrameBodyWXXX datatype by reading from file.
|
FrameBodyWXXX(byte textEncoding,
String description,
String urlLink)
Creates a new FrameBodyWXXX datatype.
|
FrameBodyWXXX(FrameBodyWXXX body) |
Modifier and Type | Method and Description |
---|---|
void |
addUrlLink(String value)
Add additional value to value
|
String |
getDescription() |
String |
getFirstUrlLink()
Get first value
|
String |
getIdentifier()
The ID3v2 frame identifier
|
String |
getUrlLinkAtIndex(int index)
Get text value at index
When a multiple values are stored within a single text frame this method allows access to any of the
individual values.
|
List<String> |
getUrlLinks() |
String |
getUrlLinkWithoutTrailingNulls()
Retrieve the complete text String but without any trailing nulls
If multiple values are held these will be returned, needless trailing nulls will not be returned
|
void |
setDescription(String description)
Set a description of the hyperlink
|
protected void |
setupObjectList()
This is different ot other URL Links
|
void |
write(ByteArrayOutputStream tagBuffer)
If the description cannot be encoded using the current encoding change the encoder
|
getUrlLink, getUserFriendlyValue, setUrlLink
createStructure, equals, getSize, read, setSize, setSize
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString
public static final String URL_DISCOGS_RELEASE_SITE
public static final String URL_WIKIPEDIA_RELEASE_SITE
public static final String URL_OFFICIAL_RELEASE_SITE
public static final String URL_DISCOGS_ARTIST_SITE
public static final String URL_WIKIPEDIA_ARTIST_SITE
public static final String URL_LYRICS_SITE
public FrameBodyWXXX()
public FrameBodyWXXX(FrameBodyWXXX body)
public FrameBodyWXXX(byte textEncoding, String description, String urlLink)
textEncoding
- description
- urlLink
- public FrameBodyWXXX(ByteBuffer byteBuffer, int frameSize) throws InvalidTagException
byteBuffer
- frameSize
- InvalidTagException
public void setDescription(String description)
description
- public String getDescription()
public String getIdentifier()
getIdentifier
in class AbstractID3v2FrameBody
public void write(ByteArrayOutputStream tagBuffer)
write
in class AbstractFrameBodyUrlLink
protected void setupObjectList()
setupObjectList
in class AbstractFrameBodyUrlLink
public String getUrlLinkWithoutTrailingNulls()
public String getFirstUrlLink()
public String getUrlLinkAtIndex(int index)
index
- public void addUrlLink(String value)
value
- at indexCopyright © 2005–2020 jthink.net. All rights reserved.