
org.mp4parser.Box Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isoparser Show documentation
Show all versions of isoparser Show documentation
A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)
package org.mp4parser;
import java.io.IOException;
import java.nio.channels.WritableByteChannel;
/**
* The most basic imaginable box. It does not have any parsing functionality it can be used to create boxes
* programmatically.
*/
public interface Box {
/**
* The box's 4-cc type.
*
* @return the 4 character type of the box
*/
String getType();
long getSize();
/**
* Writes the complete box - size | 4-cc | content - to the given writableByteChannel
.
*
* @param writableByteChannel the box's sink
* @throws IOException in case of problems with the Channel
*/
void getBox(WritableByteChannel writableByteChannel) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy