@DoNotParseDetail public class IsoFile extends BasicContainer implements Closeable
Constructor and Description |
---|
IsoFile(File file) |
IsoFile(ReadableByteChannel readableByteChannel) |
IsoFile(ReadableByteChannel readableByteChannel,
BoxParser boxParser) |
IsoFile(String file) |
Modifier and Type | Method and Description |
---|---|
static String |
bytesToFourCC(byte[] type) |
void |
close() |
static byte[] |
fourCCtoBytes(String fourCC) |
void |
getBox(WritableByteChannel os) |
MovieBox |
getMovieBox()
Shortcut to get the MovieBox since it is often needed and present in
nearly all ISO 14496 files (at least if they are derived from MP4 ).
|
long |
getSize() |
String |
toString() |
addBox, getBoxes, getBoxes, getBoxes, getContainerSize, initContainer, setBoxes, writeContainer
public IsoFile(String file) throws IOException
IOException
public IsoFile(File file) throws IOException
IOException
public IsoFile(ReadableByteChannel readableByteChannel) throws IOException
readableByteChannel
- the data sourceIOException
- in case I/O errorpublic IsoFile(ReadableByteChannel readableByteChannel, BoxParser boxParser) throws IOException
IOException
public static byte[] fourCCtoBytes(String fourCC)
public static String bytesToFourCC(byte[] type)
public long getSize()
public MovieBox getMovieBox()
null
public void getBox(WritableByteChannel os) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public String toString()
toString
in class BasicContainer
Copyright © 2019. All rights reserved.