Package org.apache.ofbiz.base.location
Class ClasspathLocationResolver
java.lang.Object
org.apache.ofbiz.base.location.ClasspathLocationResolver
- All Implemented Interfaces:
LocationResolver
A special location resolver that uses Strings like URLs, but with more options
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionresolveLocation
(String location) resolveLocation
(String location, ClassLoader loader) Resolve location url.
-
Constructor Details
-
ClasspathLocationResolver
public ClasspathLocationResolver()
-
-
Method Details
-
resolveLocation
- Specified by:
resolveLocation
in interfaceLocationResolver
- Throws:
MalformedURLException
-
resolveLocation
Resolve location url.- Parameters:
location
- the locationloader
- the loader- Returns:
- the url
- Throws:
MalformedURLException
- the malformed url exception
-