|
||||||||||
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
public abstract class AbstractPictureFrameBody
Base implementation for v2.2 PIC and v2.3+ APIC frames.
Constructor Summary | |
---|---|
AbstractPictureFrameBody()
Creates a new AbstractPictureFrameBody object. |
|
AbstractPictureFrameBody(AbstractPictureFrameBody body)
Construct from another body (copy constructor). |
|
AbstractPictureFrameBody(byte textEncoding,
java.lang.String mimeType,
byte pictureType,
java.lang.String description,
byte[] data)
Creates a new FrameBodyAPIC object. |
|
AbstractPictureFrameBody(java.io.RandomAccessFile file)
Creates a new FrameBodyAPIC object. |
Method Summary | |
---|---|
protected abstract AbstractMP3Object |
createMimeTypeObject()
Create the appropriate MIME object. |
java.lang.String |
getDescription()
This method calls toString for all it's objects and appends them. |
void |
setDescription(java.lang.String description)
Set the 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 org.farng.mp3.AbstractMP3FileItem |
---|
getIdentifier |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractPictureFrameBody()
public AbstractPictureFrameBody(AbstractPictureFrameBody body)
body
- the body to copypublic AbstractPictureFrameBody(byte textEncoding, java.lang.String mimeType, byte pictureType, java.lang.String description, byte[] data)
textEncoding
- DOCUMENT ME!mimeType
- DOCUMENT ME!pictureType
- DOCUMENT ME!description
- DOCUMENT ME!data
- DOCUMENT ME!public AbstractPictureFrameBody(java.io.RandomAccessFile file) throws java.io.IOException, InvalidTagException
file
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!
InvalidTagException
- DOCUMENT ME!Method Detail |
---|
public void setDescription(java.lang.String description)
description
- the description to setpublic 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
protected void setupObjectList()
AbstractMP3FragmentBody
MP3Object
objects that this body expects. This method needs to be overwritten.
setupObjectList
in class AbstractMP3FragmentBody
protected abstract AbstractMP3Object createMimeTypeObject()
This varies between PIC and APIC.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |