Package org.mp4parser
Class AbstractBoxParser
java.lang.Object
org.mp4parser.AbstractBoxParser
- All Implemented Interfaces:
BoxParser
- Direct Known Subclasses:
PropertyBoxParserImpl
This BoxParser handles the basic stuff like reading size and extracting box type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ParsableBoxparseBox(ReadableByteChannel byteChannel, String parentType) Parses the next size and type, creates a box instance and parses the box's content.skippingBoxes(String... types)
-
Constructor Details
-
AbstractBoxParser
public AbstractBoxParser()
-
-
Method Details
-
createBox
-
parseBox
Parses the next size and type, creates a box instance and parses the box's content.- Specified by:
parseBoxin interfaceBoxParser- Parameters:
byteChannel- the DataSource pointing to the ISO fileparentType- the current box's parent's type (null if no parent)- Returns:
- the box just parsed
- Throws:
IOException- if reading frominfails
-
skippingBoxes
-