public abstract class AbstractBoxParser extends Object implements BoxParser
| Constructor and Description |
|---|
AbstractBoxParser() |
| Modifier and Type | Method and Description |
|---|---|
abstract ParsableBox |
createBox(String type,
byte[] userType,
String parent) |
ParsableBox |
parseBox(ReadableByteChannel byteChannel,
String parentType)
Parses the next size and type, creates a box instance and parses the box's content.
|
public abstract ParsableBox createBox(String type, byte[] userType, String parent)
public ParsableBox parseBox(ReadableByteChannel byteChannel, String parentType) throws IOException
parseBox in interface BoxParserbyteChannel - the DataSource pointing to the ISO fileparentType - the current box's parent's type (null if no parent)IOException - if reading from in failsCopyright © 2015. All rights reserved.