org.eclipse.emf.mwe.core.resources
Class ResourceLoaderFactory
java.lang.Object
org.eclipse.emf.mwe.core.resources.ResourceLoaderFactory
public class ResourceLoaderFactory
- extends java.lang.Object
Factory for
ResourceLoaders.
By default this factory creates instances of
ResourceLoaderDefaultImpl.
The factory evaluates the org.eclipse.emf.mwe.core.resources.ResourceLoader
system property to get the ResourceLoader implementation class
name. Set this property to specify an alternative implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_RESOURCELOADER_CLASS
public static final java.lang.String PARAM_RESOURCELOADER_CLASS
- See Also:
- Constant Field Values
ResourceLoaderFactory
public ResourceLoaderFactory()
setCurrentThreadResourceLoader
public static void setCurrentThreadResourceLoader(ResourceLoader rl)
getCurrentThreadResourceLoader
public static ResourceLoader getCurrentThreadResourceLoader()
createResourceLoader
public static ResourceLoader createResourceLoader()
throws java.lang.RuntimeException
- Creates an instance of ResourceLoader.
- Returns:
- The newly created object
- Throws:
java.lang.RuntimeException - In any case that an instance could not be created.