|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerBox
Interface for all ISO boxes that may contain other boxes.
Method Summary | ||
---|---|---|
List<Box> |
getBoxes()
Gets all child boxes. |
|
|
getBoxes(Class<T> clazz)
Gets all child boxes of the given type. |
|
|
getBoxes(Class<T> clazz,
boolean recursive)
Gets all child boxes of the given type. |
|
IsoFile |
getIsoFile()
|
|
long |
getNumOfBytesToFirstChild()
Returns the number of bytes from the start of the box to start of the first child. |
|
ContainerBox |
getParent()
Gets the parent box. |
|
void |
setBoxes(List<Box> boxes)
Sets all boxes and removes all previous child boxes. |
Methods inherited from interface com.coremedia.iso.boxes.Box |
---|
getBox, getSize, getType, parse, setParent |
Method Detail |
---|
List<Box> getBoxes()
null
.
void setBoxes(List<Box> boxes)
boxes
- the new list of children<T extends Box> List<T> getBoxes(Class<T> clazz)
null
.
clazz
- child box's type
<T extends Box> List<T> getBoxes(Class<T> clazz, boolean recursive)
null
.
clazz
- child box's typerecursive
- step down the tree
ContainerBox getParent()
null
in case of the
IsoFile
itself.
getParent
in interface Box
ContainerBox
that contains this
long getNumOfBytesToFirstChild()
IsoFile getIsoFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |