org.jcodec.containers.mp4.boxes
Class Header
java.lang.Object
org.jcodec.containers.mp4.boxes.Header
public class Header
- extends Object
This class is part of JCodec ( www.jcodec.org ) This software is distributed
under FreeBSD License
An MP4 file structure (atom)
- Author:
- Jay Codec
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Header
public Header(String fourcc)
Header
public Header(String fourcc,
long size)
Header
public Header(Header h)
Header
public Header(String fourcc,
long size,
boolean lng)
read
public static Header read(ByteBuffer input)
print
public void print()
skip
public void skip(InputStream di)
throws IOException
- Throws:
IOException
headerSize
public long headerSize()
readContents
public byte[] readContents(InputStream di)
throws IOException
- Throws:
IOException
getFourcc
public String getFourcc()
getBodySize
public long getBodySize()
setBodySize
public void setBodySize(int length)
write
public void write(ByteBuffer out)
getSize
public long getSize()
Copyright © 2013. All Rights Reserved.