public class FieldFrameBodyIMG extends AbstractLyrics3v2FieldFrameBody
objectList
logger
Constructor and Description |
---|
FieldFrameBodyIMG()
Creates a new FieldBodyIMG datatype.
|
FieldFrameBodyIMG(ByteBuffer byteBuffer)
Creates a new FieldBodyIMG datatype.
|
FieldFrameBodyIMG(FieldFrameBodyIMG copyObject) |
FieldFrameBodyIMG(Lyrics3Image image)
Creates a new FieldBodyIMG datatype.
|
FieldFrameBodyIMG(String imageString)
Creates a new FieldBodyIMG datatype.
|
Modifier and Type | Method and Description |
---|---|
void |
addImage(Lyrics3Image image) |
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.
|
int |
getSize()
Returns the size in bytes of this fragmentbody
|
String |
getValue() |
boolean |
isSubsetOf(Object obj)
Returns true if this instance and its entire DataType
array list is a subset of the argument.
|
Iterator<Lyrics3Image> |
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.
|
protected void |
setupObjectList()
TODO
|
void |
setValue(String value) |
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 FieldFrameBodyIMG()
public FieldFrameBodyIMG(FieldFrameBodyIMG copyObject)
public FieldFrameBodyIMG(String imageString)
imageString
- public FieldFrameBodyIMG(Lyrics3Image image)
image
- public FieldFrameBodyIMG(ByteBuffer byteBuffer) throws InvalidTagException
byteBuffer
- InvalidTagException
public String getIdentifier()
AbstractTagItem
getIdentifier
in class AbstractTagItem
public int getSize()
AbstractTagFrameBody
getSize
in class AbstractTagFrameBody
public boolean isSubsetOf(Object obj)
AbstractTagFrameBody
isSubsetOf
in class AbstractTagFrameBody
obj
- public void setValue(String value)
value
- public String getValue()
public void addImage(Lyrics3Image image)
image
- public boolean equals(Object obj)
AbstractTagFrameBody
equals
in class AbstractTagFrameBody
obj
- public Iterator<Lyrics3Image> 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.