@DoNotParseDetail public class IsoFile extends BasicContainer implements java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_RECORD_SIZE_OVERRIDE |
| Constructor and Description |
|---|
IsoFile(java.io.File file) |
IsoFile(java.nio.channels.ReadableByteChannel readableByteChannel) |
IsoFile(java.nio.channels.ReadableByteChannel readableByteChannel,
BoxParser boxParser) |
IsoFile(java.lang.String file) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
bytesToFourCC(byte[] type) |
void |
close() |
static byte[] |
fourCCtoBytes(java.lang.String fourCC) |
void |
getBox(java.nio.channels.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() |
java.lang.String |
toString() |
addBox, getBoxes, getBoxes, getBoxes, getContainerSize, initContainer, setBoxes, writeContainerpublic IsoFile(java.lang.String file)
throws java.io.IOException
java.io.IOExceptionpublic IsoFile(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic IsoFile(java.nio.channels.ReadableByteChannel readableByteChannel)
throws java.io.IOException
readableByteChannel - the data sourcejava.io.IOException - in case I/O errorpublic IsoFile(java.nio.channels.ReadableByteChannel readableByteChannel,
BoxParser boxParser)
throws java.io.IOException
java.io.IOExceptionpublic static byte[] fourCCtoBytes(java.lang.String fourCC)
public static java.lang.String bytesToFourCC(byte[] type)
public long getSize()
public MovieBox getMovieBox()
nullpublic void getBox(java.nio.channels.WritableByteChannel os)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.lang.String toString()
toString in class BasicContainerCopyright © 2020. All rights reserved.