|
||||||||||
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.AbstractPictureFrameBody org.farng.mp3.id3.FrameBodyAPIC
public class 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 | |
---|---|
protected AbstractMP3Object |
createMimeTypeObject()
Create the appropriate MIME object. |
java.lang.String |
getIdentifier()
|
Methods inherited from class org.farng.mp3.id3.AbstractPictureFrameBody |
---|
getDescription, setDescription, setupObjectList |
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
java.io.IOException
InvalidTagException
Method Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in class AbstractMP3FileItem
protected AbstractMP3Object createMimeTypeObject()
AbstractPictureFrameBody
This varies between PIC and APIC.
createMimeTypeObject
in class AbstractPictureFrameBody
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |