public interface Container
| Modifier and Type | Method and Description |
|---|---|
List<Box> |
getBoxes()
Gets all child boxes.
|
<T extends Box> |
getBoxes(Class<T> clazz)
Gets all child boxes of the given type.
|
<T extends Box> |
getBoxes(Class<T> clazz,
boolean recursive)
Gets all child boxes of the given type.
|
void |
setBoxes(List<? extends Box> boxes)
Sets all boxes and removes all previous child boxes.
|
void |
writeContainer(WritableByteChannel bb) |
List<Box> getBoxes()
null.void setBoxes(List<? extends Box> boxes)
boxes - the new list of children<T extends Box> List<T> getBoxes(Class<T> clazz)
null.T - type of boxes to getclazz - child box's type<T extends Box> List<T> getBoxes(Class<T> clazz, boolean recursive)
null.T - type of boxes to getclazz - child box's typerecursive - step down the treevoid writeContainer(WritableByteChannel bb) throws IOException
IOExceptionCopyright © 2015. All rights reserved.