|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.humatic.dsj.util.Atom
public class Atom
Atoms are data units used in atomic file types inheriting from the original Quicktime file format (like ISO MPEG4). Atoms have size, type and data fields and may contain nested child atoms. They are read from files or raw data by AtomParsers and can not be constructed directly.
| Method Summary | |
|---|---|
Atom |
getChildByIndex(int idx)
|
byte[] |
getData()
Returns the Atom's raw data, which may consist of child atom's |
java.lang.String |
getID()
Returns the Atom's four char code ID string |
Atom |
getNextChild(Atom currentChild)
Returns the child atom following currentChild in this atom's data. |
Atom |
getParent()
|
int |
getSize()
Returns the Atom's data size. |
int |
getType()
Returns the Atom's four char code as an int. |
boolean |
isContainer()
Returns true if this is a known container atom that might contain child atoms. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isContainer()
public Atom getParent()
public int getSize()
public int getType()
public java.lang.String getID()
public byte[] getData()
public Atom getChildByIndex(int idx)
public Atom getNextChild(Atom currentChild)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||