|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.farng.mp3.AbstractMP3FileItem
This class is a facade for all classes that can write to an MP3 file. It has abstract methods that needs to be implemented, and a few default implementations of other methods.
| Constructor Summary | |
protected |
AbstractMP3FileItem()
Creates a new AbstractMP3FileItem object. |
protected |
AbstractMP3FileItem(AbstractMP3FileItem copyObject)
Creates a new AbstractMP3FileItem object. |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Returns true if this object and its body equals the argument and its body. |
abstract java.lang.String |
getIdentifier()
ID string that usually corresponds to the class name, but can be displayed to the user. |
abstract int |
getSize()
|
boolean |
isSubsetOf(java.lang.Object object)
Returns true if this object is a subset of the argument. |
abstract void |
read(java.io.RandomAccessFile file)
import java.io.IOException; import java.io.RandomAccessFile; read from current file pointer position. |
abstract void |
write(java.io.RandomAccessFile file)
Method to write this object to the file argument at is current file pointer position. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected AbstractMP3FileItem()
protected AbstractMP3FileItem(AbstractMP3FileItem copyObject)
| Method Detail |
public abstract java.lang.String getIdentifier()
public abstract int getSize()
public abstract void read(java.io.RandomAccessFile file)
throws TagException,
java.io.IOException
file - file to read from
TagException - on any exception generated by this library.
java.io.IOException - on any I/O error
public abstract void write(java.io.RandomAccessFile file)
throws TagException,
java.io.IOException
file - file to write to
java.io.IOException - on any I/O error
TagExceptionpublic boolean isSubsetOf(java.lang.Object object)
object - object to determine subset of
public boolean equals(java.lang.Object obj)
obj - object to determine equality of
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||