public class AdvancedModelLoader extends Object
getSupportedSuffixes()
method.
Instances can be created by calling loadModel(String)
with a class-loadable-pathConstructor and Description |
---|
AdvancedModelLoader() |
Modifier and Type | Method and Description |
---|---|
static Collection<String> |
getSupportedSuffixes() |
static IModelCustom |
loadModel(String resourceName)
Load the model from the supplied classpath resolvable resource name
|
static void |
registerModelHandler(IModelCustomLoader modelHandler)
Register a new model handler
|
public static void registerModelHandler(IModelCustomLoader modelHandler)
modelHandler
- The model handler to registerpublic static IModelCustom loadModel(String resourceName) throws IllegalArgumentException, ModelFormatException
resourceName
- The resource nameIllegalArgumentException
- if the resource name cannot be understoodModelFormatException
- if the underlying model handler cannot parse the model formatpublic static Collection<String> getSupportedSuffixes()