org.jdesktop.wonderland.client.jme.artimport
Class ModelLoaderFactory

java.lang.Object
  extended by org.jdesktop.wonderland.client.jme.artimport.ModelLoaderFactory

public abstract class ModelLoaderFactory
extends java.lang.Object

Provides a container for a model loader, allowing multiple loaders that support the same file extensions to be available in the system.

Author:
paulby

Constructor Summary
ModelLoaderFactory()
           
 
Method Summary
abstract  java.lang.String getFileExtension()
           
abstract  ModelLoader getLoader()
          Return an instance of the loader.
abstract  java.lang.String getLoaderClassname()
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
          Set whether or not this loader is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelLoaderFactory

public ModelLoaderFactory()
Method Detail

getFileExtension

public abstract java.lang.String getFileExtension()
Returns:
the file extensions supported by the loader

getLoader

public abstract ModelLoader getLoader()
Return an instance of the loader. A new instance of the loader is used to load each new file

Returns:

getLoaderClassname

public abstract java.lang.String getLoaderClassname()

isEnabled

public boolean isEnabled()
Returns:
true if this loader is enabled

setEnabled

public void setEnabled(boolean enabled)
Set whether or not this loader is enabled.

Parameters:
b -


Open Wonderland - http://openwonderland.org