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