|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.farng.mp3.AbstractMP3FileItem
org.farng.mp3.AbstractMP3FragmentBody
org.farng.mp3.id3.AbstractID3v2FrameBody
org.farng.mp3.id3.FrameBodyUnsupported
public class FrameBodyUnsupported
This frame is used if the frame identifier is not recognized. the contents of the frame are read as a byte stream and kept so they can be saved when the file is written again
| Constructor Summary | |
|---|---|
FrameBodyUnsupported(byte[] value)
Creates a new FrameBodyUnsupported object. |
|
FrameBodyUnsupported(FrameBodyUnsupported copyObject)
Creates a new FrameBodyUnsupported object. |
|
FrameBodyUnsupported(java.io.RandomAccessFile file)
Creates a new FrameBodyUnsupported object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if this object and its entire MP3Object array list equals the argument. |
java.lang.String |
getIdentifier()
|
int |
getSize()
Returns the estimated size in bytes of this object if it was to be written to file. |
boolean |
isSubsetOf(java.lang.Object object)
Returns true if this instance and its entire MP3Object array list is a subset of the argument. |
void |
read(java.io.RandomAccessFile file)
Read the data from the given file into this object. |
protected void |
setupObjectList()
Create the order of MP3Object objects that this body expects. |
java.lang.String |
toString()
Calls toString for all MP3Object objects and creates a string with a new line
character. |
void |
write(java.io.RandomAccessFile file)
Write the contents of this object to the file at the position it is currently at. |
| Methods inherited from class org.farng.mp3.id3.AbstractID3v2FrameBody |
|---|
readHeader, writeHeader |
| Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody |
|---|
appendToObjectList, getBriefDescription, getDescription, getObject, getObjectListIterator, has6ByteHeader, iterator, setObject |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FrameBodyUnsupported(byte[] value)
public FrameBodyUnsupported(FrameBodyUnsupported copyObject)
public FrameBodyUnsupported(java.io.RandomAccessFile file)
throws java.io.IOException,
InvalidTagException
java.io.IOException
InvalidTagException| Method Detail |
|---|
public java.lang.String getIdentifier()
getIdentifier in class AbstractMP3FileItempublic int getSize()
AbstractMP3FragmentBody
getSize in class AbstractMP3FragmentBodypublic boolean isSubsetOf(java.lang.Object object)
AbstractMP3FragmentBodyMP3Object array list is a subset of the argument. This
class is a subset if it is the same class as the argument.
isSubsetOf in class AbstractMP3FragmentBodyobject - object to determine subset of
public boolean equals(java.lang.Object obj)
AbstractMP3FragmentBodyMP3Object array list equals the argument. This object is
equal to the argument only if they are the same class.
equals in class AbstractID3v2FrameBodyobj - object to determine equality of
MP3Object array list equals the argument.protected void setupObjectList()
AbstractMP3FragmentBodyMP3Object objects that this body expects. This method needs to be overwritten.
setupObjectList in class AbstractMP3FragmentBody
public void read(java.io.RandomAccessFile file)
throws java.io.IOException,
InvalidTagException
AbstractMP3FragmentBody
read in class AbstractMP3FragmentBodyfile - file to read from
java.io.IOException - on any I/O error
InvalidTagException - if there is any error in the data format.public java.lang.String toString()
AbstractMP3FragmentBodytoString for all MP3Object objects and creates a string with a new line
character.
toString in class AbstractMP3FragmentBody
public void write(java.io.RandomAccessFile file)
throws java.io.IOException
AbstractMP3FragmentBody
write in class AbstractMP3FragmentBodyfile - destination file
java.io.IOException - on any I/O error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||