org.jcodec.containers.mp4.boxes
Class Box
java.lang.Object
org.jcodec.containers.mp4.boxes.Box
- Direct Known Subclasses:
- AvcCBox, CleanApertureExtension, ClipRegionBox, ColorExtension, EndianBox, FielExtension, FileTypeBox, FormatBox, FullBox, GamaExtension, LeafBox, LoadSettingsBox, MP4ABox, NameBox, NodeBox, PixelAspectExt
public abstract class Box
- extends Object
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
An MP4 file struncture (box).
- Author:
- The JCodec project
header
protected Header header
Box
public Box(Header header)
Box
public Box(Box other)
getHeader
public Header getHeader()
parse
public abstract void parse(ByteBuffer buf)
findFirst
public static Box findFirst(NodeBox box,
String... path)
findFirst
public static <T> T findFirst(NodeBox box,
Class<T> clazz,
String... path)
findAll
public static Box[] findAll(Box box,
String... path)
findAll
public static <T> T[] findAll(Box box,
Class<T> class1,
String... path)
write
public void write(ByteBuffer buf)
doWrite
protected abstract void doWrite(ByteBuffer out)
getFourcc
public String getFourcc()
toString
public String toString()
- Overrides:
toString in class Object
dump
protected void dump(StringBuilder sb)
as
public static <T extends Box> T as(Class<T> class1,
LeafBox box)
Copyright © 2013. All Rights Reserved.