Package org.apache.ofbiz.base.location
Class ComponentLocationResolver
- java.lang.Object
-
- org.apache.ofbiz.base.location.ComponentLocationResolver
-
- All Implemented Interfaces:
LocationResolver
public class ComponentLocationResolver extends java.lang.Object implements LocationResolver
A special location resolver that uses Strings like URLs, but with more options
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description ComponentLocationResolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringBuilder
getBaseLocation(java.lang.String location)
java.net.URL
resolveLocation(java.lang.String location)
-
-
-
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
-
getBaseLocation
public static java.lang.StringBuilder getBaseLocation(java.lang.String location) throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
-