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