org.ofbiz.base.config
Class FileLoader

java.lang.Object
  extended by org.ofbiz.base.config.ResourceLoader
      extended by org.ofbiz.base.config.FileLoader
All Implemented Interfaces:
java.io.Serializable

public class FileLoader
extends ResourceLoader
implements java.io.Serializable

Loads resources from the file system

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ofbiz.base.config.ResourceLoader
envName, loaderCache, module, name, prefix
 
Constructor Summary
FileLoader()
           
 
Method Summary
 java.net.URL getURL(java.lang.String location)
           
 java.io.InputStream loadResource(java.lang.String location)
           
 
Methods inherited from class org.ofbiz.base.config.ResourceLoader
fullLocation, getLoader, getURL, getXmlDocument, getXmlRootElement, init, invalidateDocument, loadResource, makeLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLoader

public FileLoader()
Method Detail

getURL

public java.net.URL getURL(java.lang.String location)
                    throws GenericConfigException
Specified by:
getURL in class ResourceLoader
Throws:
GenericConfigException

loadResource

public java.io.InputStream loadResource(java.lang.String location)
                                 throws GenericConfigException
Specified by:
loadResource in class ResourceLoader
Throws:
GenericConfigException