|
Assimp
v4.1. (December 2018)
|
IOSystem based on the Java classloader. More...
Inherits jassimp.AiIOSystem< AiInputStreamIOStream >.
Public Member Functions | |
| AiClassLoaderIOSystem (Class<?> clazz) | |
| Construct a new AiClassLoaderIOSystem. More... | |
| AiClassLoaderIOSystem (ClassLoader classLoader) | |
| Construct a new AiClassLoaderIOSystem. More... | |
| void | close (AiInputStreamIOStream file) |
| boolean | exists (String path) |
| char | getOsSeparator () |
| AiInputStreamIOStream | open (String filename, String ioMode) |
Public Member Functions inherited from jassimp.AiIOSystem< AiInputStreamIOStream > | |
| void | close (T file) |
| Closes the given file and releases all resources associated with it. More... | |
| boolean | exists (String path) |
| Tests for the existence of a file at the given path. More... | |
| char | getOsSeparator () |
| Returns the system specific directory separator. More... | |
| T | open (String path, String ioMode) |
| Open a new file with a given path. More... | |
IOSystem based on the Java classloader.
This IOSystem allows loading models directly from the classpath. No extraction to the file system is necessary.
|
inline |
Construct a new AiClassLoaderIOSystem.
This constructor uses a ClassLoader to resolve resources.
| classLoader | classLoader to resolve resources. |
|
inline |
Construct a new AiClassLoaderIOSystem.
This constructor uses a Class to resolve resources.
| class<?> | class to resolve resources. |
|
inline |
|
inline |
|
inline |
|
inline |