org.ofbiz.base.config
Class UrlLoader

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

public class UrlLoader
extends ResourceLoader
implements java.io.Serializable

Loads resources from a URL

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ofbiz.base.config.ResourceLoader
envName, loaderCache, module, name, prefix
 
Constructor Summary
UrlLoader()
           
 
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

UrlLoader

public UrlLoader()
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