Package org.apache.ofbiz.base.location
Class ClasspathLocationResolver
- java.lang.Object
-
- org.apache.ofbiz.base.location.ClasspathLocationResolver
-
- All Implemented Interfaces:
LocationResolver
public class ClasspathLocationResolver extends java.lang.Object implements LocationResolver
A special location resolver that uses Strings like URLs, but with more options
-
-
Constructor Summary
Constructors Constructor Description ClasspathLocationResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
resolveLocation(java.lang.String location)
java.net.URL
resolveLocation(java.lang.String location, java.lang.ClassLoader loader)
-
-
-
Method Detail
-
resolveLocation
public java.net.URL resolveLocation(java.lang.String location) throws java.net.MalformedURLException
- Specified by:
resolveLocation
in interfaceLocationResolver
- Throws:
java.net.MalformedURLException
-
resolveLocation
public java.net.URL resolveLocation(java.lang.String location, java.lang.ClassLoader loader) throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
-