Package org.apache.ofbiz.base.config
Class UrlLoader
- java.lang.Object
-
- org.apache.ofbiz.base.config.ResourceLoader
-
- org.apache.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.apache.ofbiz.base.config.ResourceLoader
module
-
-
Constructor Summary
Constructors Constructor Description UrlLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
getURL(java.lang.String location)
java.io.InputStream
loadResource(java.lang.String location)
-
Methods inherited from class org.apache.ofbiz.base.config.ResourceLoader
fullLocation, getLoader, getURL, getXmlDocument, getXmlRootElement, invalidateDocument, loadResource, readXmlDocument, readXmlRootElement
-
-
-
-
Method Detail
-
getURL
public java.net.URL getURL(java.lang.String location) throws GenericConfigException
- Specified by:
getURL
in classResourceLoader
- Throws:
GenericConfigException
-
loadResource
public java.io.InputStream loadResource(java.lang.String location) throws GenericConfigException
- Specified by:
loadResource
in classResourceLoader
- Throws:
GenericConfigException
-
-