public class FieldFrameBodyIMG extends AbstractLyrics3v2FieldFrameBody
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Lyrics3Image> |
images |
objectList
logger
Constructor and Description |
---|
FieldFrameBodyIMG()
Creates a new FieldBodyIMG datatype.
|
FieldFrameBodyIMG(java.nio.ByteBuffer byteBuffer)
Creates a new FieldBodyIMG datatype.
|
FieldFrameBodyIMG(FieldFrameBodyIMG copyObject) |
FieldFrameBodyIMG(Lyrics3Image image)
Creates a new FieldBodyIMG datatype.
|
FieldFrameBodyIMG(java.lang.String imageString)
Creates a new FieldBodyIMG datatype.
|
Modifier and Type | Method and Description |
---|---|
void |
addImage(Lyrics3Image image) |
boolean |
equals(java.lang.Object obj)
Returns true if this datatype and its entire DataType array
list equals the argument.
|
java.lang.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
|
java.lang.String |
getValue() |
boolean |
isSubsetOf(java.lang.Object obj)
Returns true if this instance and its entire DataType
array list is a subset of the argument.
|
java.util.Iterator<Lyrics3Image> |
iterator()
Returns an iterator of the DataType list.
|
void |
read(java.nio.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.
|
private void |
readString(java.lang.String imageString) |
protected void |
setupObjectList()
TODO
|
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
Return brief description of FrameBody
|
void |
write(java.io.RandomAccessFile file)
Write the contents of this datatype to the file at the position it is
currently at.
|
private java.lang.String |
writeString() |
readHeader, writeHeader
createStructure, getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, getUserFriendlyValue, setHeader, setObjectValue, setTextEncoding
private java.util.ArrayList<Lyrics3Image> images
public FieldFrameBodyIMG()
public FieldFrameBodyIMG(FieldFrameBodyIMG copyObject)
public FieldFrameBodyIMG(java.lang.String imageString)
imageString
- public FieldFrameBodyIMG(Lyrics3Image image)
image
- public FieldFrameBodyIMG(java.nio.ByteBuffer byteBuffer) throws InvalidTagException
byteBuffer
- InvalidTagException
public java.lang.String getIdentifier()
AbstractTagItem
getIdentifier
in class AbstractTagItem
public int getSize()
AbstractTagFrameBody
getSize
in class AbstractTagFrameBody
public boolean isSubsetOf(java.lang.Object obj)
AbstractTagFrameBody
isSubsetOf
in class AbstractTagFrameBody
obj
- public void setValue(java.lang.String value)
value
- public java.lang.String getValue()
public void addImage(Lyrics3Image image)
image
- public boolean equals(java.lang.Object obj)
AbstractTagFrameBody
equals
in class AbstractTagFrameBody
obj
- public java.util.Iterator<Lyrics3Image> iterator()
AbstractTagFrameBody
iterator
in class AbstractTagFrameBody
public void read(java.nio.ByteBuffer byteBuffer) throws InvalidTagException
AbstractLyrics3v2FieldFrameBody
read
in class AbstractLyrics3v2FieldFrameBody
byteBuffer
- file to readInvalidTagException
- if there is any error in the data format.public java.lang.String toString()
AbstractTagFrameBody
toString
in class AbstractTagFrameBody
public void write(java.io.RandomAccessFile file) throws java.io.IOException
AbstractLyrics3v2FieldFrameBody
write
in class AbstractLyrics3v2FieldFrameBody
file
- java.io.IOException
private void readString(java.lang.String imageString)
imageString
- private java.lang.String writeString()
protected void setupObjectList()
setupObjectList
in class AbstractTagFrameBody
Copyright © 2005-2013 java.net. All Rights Reserved.