|
|||||||||||
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.AbstractMP3Fragment
This class represents parts of tags. It contains methods that they all use use. ID3v2 tags have frames. Lyrics3 tags have fields. ID3v1 tags do not have parts. It also contains thier header while the body contains the actual fragments.
Constructor Summary | |
protected |
AbstractMP3Fragment()
Creates a new AbstractMP3Fragment object. |
protected |
AbstractMP3Fragment(AbstractMP3Fragment copyObject)
Creates a new AbstractMP3Fragment object. |
protected |
AbstractMP3Fragment(AbstractMP3FragmentBody body)
Creates a new AbstractMP3Fragment object. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Returns true if this object and its body equals the argument and its body. |
AbstractMP3FragmentBody |
getBody()
Returns the body object for this fragment. |
boolean |
isSubsetOf(java.lang.Object object)
Returns true if this object and it's body is a subset of the argument. |
void |
setBody(AbstractMP3FragmentBody body)
Sets the body object for this fragment. |
Methods inherited from class org.farng.mp3.AbstractMP3FileItem |
getIdentifier, getSize, read, write |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractMP3Fragment()
protected AbstractMP3Fragment(AbstractMP3FragmentBody body)
protected AbstractMP3Fragment(AbstractMP3Fragment copyObject)
Method Detail |
public void setBody(AbstractMP3FragmentBody body)
body
- the body objectpublic AbstractMP3FragmentBody getBody()
public boolean isSubsetOf(java.lang.Object object)
isSubsetOf
in class AbstractMP3FileItem
object
- object to determine if subset of
public boolean equals(java.lang.Object obj)
getIdentifier
id string.
equals
in class AbstractMP3FileItem
obj
- object to determine equality of
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |