public class FieldFrameBodyLYR extends AbstractLyrics3v2FieldFrameBody
objectList
logger
Constructor and Description |
---|
FieldFrameBodyLYR()
Creates a new FieldBodyLYR datatype.
|
FieldFrameBodyLYR(ByteBuffer byteBuffer)
Creates a new FieldBodyLYR datatype.
|
FieldFrameBodyLYR(FieldFrameBodyLYR copyObject) |
FieldFrameBodyLYR(FrameBodySYLT sync)
Creates a new FieldBodyLYR datatype.
|
FieldFrameBodyLYR(FrameBodyUSLT unsync)
Creates a new FieldBodyLYR datatype.
|
FieldFrameBodyLYR(String line)
Creates a new FieldBodyLYR datatype.
|
Modifier and Type | Method and Description |
---|---|
void |
addLyric(FrameBodySYLT sync) |
void |
addLyric(FrameBodyUSLT unsync) |
boolean |
equals(Object obj)
Returns true if this datatype and its entire DataType array
list equals the argument.
|
String |
getIdentifier()
ID string that usually corresponds to the class name, but can be
displayed to the user.
|
String |
getLyric() |
int |
getSize()
Returns the size in bytes of this fragmentbody
|
boolean |
hasTimeStamp() |
boolean |
isSubsetOf(Object obj)
Returns true if this instance and its entire DataType
array list is a subset of the argument.
|
Iterator<Lyrics3Line> |
iterator()
Returns an iterator of the DataType list.
|
void |
read(ByteBuffer byteBuffer)
This reads a frame body from its file into the appropriate FrameBody class
Read the data from the given file into this datatype.
|
void |
setLyric(String str) |
protected void |
setupObjectList()
TODO
|
String |
toString()
Return brief description of FrameBody
|
void |
write(RandomAccessFile file)
Write the contents of this datatype to the file at the position it is
currently at.
|
readHeader, writeHeader
createStructure, getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, setHeader, setObjectValue, setTextEncoding
public FieldFrameBodyLYR()
public FieldFrameBodyLYR(FieldFrameBodyLYR copyObject)
public FieldFrameBodyLYR(String line)
line
- public FieldFrameBodyLYR(FrameBodySYLT sync)
sync
- public FieldFrameBodyLYR(FrameBodyUSLT unsync)
unsync
- public FieldFrameBodyLYR(ByteBuffer byteBuffer) throws InvalidTagException
byteBuffer
- InvalidTagException
public String getIdentifier()
AbstractTagItem
getIdentifier
in class AbstractTagItem
public void setLyric(String str)
str
- public String getLyric()
public int getSize()
AbstractTagFrameBody
getSize
in class AbstractTagFrameBody
public boolean isSubsetOf(Object obj)
AbstractTagFrameBody
isSubsetOf
in class AbstractTagFrameBody
obj
- public void addLyric(FrameBodySYLT sync)
sync
- public void addLyric(FrameBodyUSLT unsync)
unsync
- public boolean equals(Object obj)
AbstractTagFrameBody
equals
in class AbstractTagFrameBody
obj
- public boolean hasTimeStamp()
public Iterator<Lyrics3Line> iterator()
AbstractTagFrameBody
iterator
in class AbstractTagFrameBody
public void read(ByteBuffer byteBuffer) throws InvalidTagException
AbstractLyrics3v2FieldFrameBody
read
in class AbstractLyrics3v2FieldFrameBody
byteBuffer
- file to readInvalidTagException
- if there is any error in the data format.public String toString()
AbstractTagFrameBody
toString
in class AbstractTagFrameBody
public void write(RandomAccessFile file) throws IOException
AbstractLyrics3v2FieldFrameBody
write
in class AbstractLyrics3v2FieldFrameBody
file
- IOException
protected void setupObjectList()
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005–2020 jthink.net. All rights reserved.