@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, writeContainerpublic IsoFile(String file) throws IOException
IOExceptionpublic IsoFile(File file) throws IOException
IOExceptionpublic IsoFile(ReadableByteChannel readableByteChannel) throws IOException
readableByteChannel - the data sourceIOException - in case I/O errorpublic IsoFile(ReadableByteChannel readableByteChannel, BoxParser boxParser) throws IOException
IOExceptionpublic static byte[] fourCCtoBytes(String fourCC)
public static String bytesToFourCC(byte[] type)
public long getSize()
public MovieBox getMovieBox()
nullpublic void getBox(WritableByteChannel os) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String toString()
toString in class BasicContainerCopyright © 2015. All rights reserved.