|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.farng.mp3.AbstractMP3FileItem org.farng.mp3.AbstractMP3FragmentBody org.farng.mp3.id3.AbstractID3v2FrameBody org.farng.mp3.id3.FrameBodyAPIC
This frame contains a picture directly related to the audio file.
Image format is
the MIME type and subtype [MIME] for the image. In
the event that the MIME media type name is
omitted, "image/" will be
<Header for 'Attached picture', ID: "APIC">
Text encoding $xx
MIME
type <text string>
Picture type: $00 Other
Constructor Summary | |
FrameBodyAPIC()
Creates a new FrameBodyAPIC object. |
|
FrameBodyAPIC(byte textEncoding,
java.lang.String mimeType,
byte pictureType,
java.lang.String description,
byte[] data)
Creates a new FrameBodyAPIC object. |
|
FrameBodyAPIC(FrameBodyAPIC body)
Creates a new FrameBodyAPIC object. |
|
FrameBodyAPIC(java.io.RandomAccessFile file)
Creates a new FrameBodyAPIC object. |
Method Summary | |
java.lang.String |
getDescription()
This method calls toString for all it's objects and appends them. |
java.lang.String |
getIdentifier()
ID string that usually corresponds to the class name, but can be displayed to the user. |
void |
setDescription(java.lang.String description)
|
protected void |
setupObjectList()
Create the order of MP3Object objects that this body expects. |
Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody |
equals, readHeader, writeHeader |
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody |
appendToObjectList, getBriefDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, isSubsetOf, iterator, read, setObject, toString, write |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FrameBodyAPIC()
public FrameBodyAPIC(FrameBodyAPIC body)
public FrameBodyAPIC(byte textEncoding, java.lang.String mimeType, byte pictureType, java.lang.String description, byte[] data)
public FrameBodyAPIC(java.io.RandomAccessFile file) throws java.io.IOException, InvalidTagException
Method Detail |
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
AbstractMP3FragmentBody
toString
for all it's objects and appends them. It contains new line characters
and is more suited for display purposes
getDescription
in class AbstractMP3FragmentBody
public java.lang.String getIdentifier()
AbstractMP3FileItem
getIdentifier
in class AbstractMP3FileItem
protected void setupObjectList()
AbstractMP3FragmentBody
MP3Object
objects that this body expects. This method needs to be overwritten.
setupObjectList
in class AbstractMP3FragmentBody
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |