|
|||||||||||
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.lyrics3.AbstractLyrics3v2FieldBody org.farng.mp3.lyrics3.FieldBodyUnsupported
This is used if the field 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 | |
FieldBodyUnsupported()
Creates a new FieldBodyUnsupported object. |
|
FieldBodyUnsupported(byte[] value)
Creates a new FieldBodyUnsupported object. |
|
FieldBodyUnsupported(FieldBodyUnsupported copyObject)
Creates a new FieldBodyUnsupported object. |
|
FieldBodyUnsupported(java.io.RandomAccessFile file)
Creates a new FieldBodyUnsupported 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()
ID string that usually corresponds to the class name, but can be displayed to the user. |
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.lyrics3.AbstractLyrics3v2FieldBody |
readHeader, writeHeader |
Methods inherited from class org.farng.mp3.AbstractMP3FragmentBody |
appendToObjectList, getBriefDescription, getDescription, getObject, getObjectListIterator, getSize, has6ByteHeader, iterator, setObject |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FieldBodyUnsupported()
public FieldBodyUnsupported(FieldBodyUnsupported copyObject)
public FieldBodyUnsupported(byte[] value)
public FieldBodyUnsupported(java.io.RandomAccessFile file) throws java.io.IOException
Method Detail |
public java.lang.String getIdentifier()
AbstractMP3FileItem
getIdentifier
in class AbstractMP3FileItem
public boolean isSubsetOf(java.lang.Object object)
AbstractMP3FragmentBody
MP3Object
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 AbstractMP3FragmentBody
object
- object to determine subset of
public boolean equals(java.lang.Object obj)
AbstractMP3FragmentBody
MP3Object
array list equals the argument. This object is
equal to the argument only if they are the same class.
equals
in class AbstractMP3FragmentBody
obj
- object to determine equality of
MP3Object
array list equals the argument.protected void setupObjectList()
AbstractMP3FragmentBody
MP3Object
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
AbstractMP3FragmentBody
read
in class AbstractMP3FragmentBody
file
- file to read from
java.io.IOException
- on any I/O errorpublic java.lang.String toString()
AbstractMP3FragmentBody
toString
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 AbstractMP3FragmentBody
file
- 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 |