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.
|
ByteBuffer |
getByteBuffer(long start,
long size) |
void |
setBoxes(List<Box> boxes)
Sets all boxes and removes all previous child boxes.
|
void |
writeContainer(WritableByteChannel bb) |
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.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 treeByteBuffer getByteBuffer(long start, long size) throws IOException
IOExceptionvoid writeContainer(WritableByteChannel bb) throws IOException
IOExceptionCopyright © 2014. All rights reserved.