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.
|
AbstractBoxParser |
skippingBoxes(String... types) |
public abstract ParsableBox createBox(String type, byte[] userType, String parent)
public ParsableBox parseBox(ReadableByteChannel byteChannel, String parentType) throws IOException
parseBox
in interface BoxParser
byteChannel
- the DataSource pointing to the ISO fileparentType
- the current box's parent's type (null if no parent)IOException
- if reading from in
failspublic AbstractBoxParser skippingBoxes(String... types)
Copyright © 2019. All rights reserved.