public class ID3v2LyricLine extends AbstractDataType
frameBody, identifier, logger, size, TYPE_ELEMENT, value
Constructor and Description |
---|
ID3v2LyricLine(ID3v2LyricLine copy) |
ID3v2LyricLine(String identifier,
AbstractTagFrameBody frameBody) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getSize()
This defines the size in bytes of the datatype being
held when read/written to file.
|
String |
getText() |
long |
getTimeStamp() |
void |
readByteArray(byte[] arr,
int offset)
This is the starting point for reading bytes from the file into the ID3 datatype
starting at offset.
|
void |
setText(String text) |
void |
setTimeStamp(long timeStamp) |
String |
toString() |
byte[] |
writeByteArray()
Starting point write ID3 Datatype back to array of bytes.
|
createStructure, getBody, getIdentifier, getValue, readByteArray, setBody, setValue
public ID3v2LyricLine(String identifier, AbstractTagFrameBody frameBody)
public ID3v2LyricLine(ID3v2LyricLine copy)
public int getSize()
AbstractDataType
getSize
in class AbstractDataType
public void setText(String text)
public String getText()
public void setTimeStamp(long timeStamp)
public long getTimeStamp()
public boolean equals(Object obj)
equals
in class AbstractDataType
obj
- public void readByteArray(byte[] arr, int offset) throws InvalidDataTypeException
AbstractDataType
readByteArray
in class AbstractDataType
arr
- offset
- NullPointerException
IndexOutOfBoundsException
InvalidDataTypeException
public byte[] writeByteArray()
AbstractDataType
writeByteArray
in class AbstractDataType
Copyright © 2005–2020 jthink.net. All rights reserved.