public class TechneModelLoader extends Object implements IModelCustomLoader
Constructor and Description |
---|
TechneModelLoader() |
Modifier and Type | Method and Description |
---|---|
String[] |
getSuffixes()
Get resource suffixes this model loader recognizes
|
String |
getType()
Get the main type name for this loader
|
IModelCustom |
loadInstance(String resourceName,
URL resource)
Load a model instance from the supplied path
|
public String getType()
IModelCustomLoader
getType
in interface IModelCustomLoader
public String[] getSuffixes()
IModelCustomLoader
getSuffixes
in interface IModelCustomLoader
public IModelCustom loadInstance(String resourceName, URL resource) throws ModelFormatException
IModelCustomLoader
loadInstance
in interface IModelCustomLoader
resourceName
- The resource name to loadresource
- The URL associated with the classloader resourceModelFormatException
- if the model format is not correct