public final class JmfReader extends java.lang.Object implements IModelReader
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JMF_EXT
Lower case extension
|
protected static int |
VERSION_CBC |
protected static int |
VERSION_LZMA |
protected static int |
VERSION_TEX_MODES |
protected static int |
VERSION_TEX_NOFLIP |
protected static int |
VERSION_XOR |
| Constructor and Description |
|---|
JmfReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupported(ModelReaderSettings settings) |
protected static IByteInputStream |
read(java.io.InputStream is,
java.lang.String id_,
byte[] key,
Stream stream) |
void |
read(Model model,
ModelReaderSettings settings)
Read the model file.
|
protected static void |
read(Model model,
ModelReaderSettings settings,
java.io.InputStream fis,
Stream stream) |
protected static int |
readHeader(java.io.InputStream is,
java.lang.String id_) |
protected static java.io.InputStream |
toIs(java.io.InputStream is,
byte[] key,
Stream stream,
int version) |
public static final java.lang.String JMF_EXT
protected static final int VERSION_LZMA
protected static final int VERSION_XOR
protected static final int VERSION_CBC
protected static final int VERSION_TEX_MODES
protected static final int VERSION_TEX_NOFLIP
public void read(Model model, ModelReaderSettings settings) throws java.io.IOException
IModelReaderread in interface IModelReaderjava.io.IOExceptionprotected static void read(Model model, ModelReaderSettings settings, java.io.InputStream fis, Stream stream) throws java.io.IOException
java.io.IOExceptionprotected static IByteInputStream read(java.io.InputStream is, java.lang.String id_, byte[] key, Stream stream) throws java.io.IOException
java.io.IOExceptionprotected static int readHeader(java.io.InputStream is,
java.lang.String id_)
throws java.io.IOException
java.io.IOExceptionprotected static java.io.InputStream toIs(java.io.InputStream is,
byte[] key,
Stream stream,
int version)
throws java.io.IOException
java.io.IOExceptionpublic boolean isSupported(ModelReaderSettings settings)
isSupported in interface IModelReaderBonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com