org.ofbiz.base.location
Class ComponentLocationResolver
java.lang.Object
org.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 |
static java.lang.String |
module
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
ComponentLocationResolver
public ComponentLocationResolver()
resolveLocation
public java.net.URL resolveLocation(java.lang.String location)
throws java.net.MalformedURLException
- Specified by:
resolveLocation
in interface LocationResolver
- Throws:
java.net.MalformedURLException
getBaseLocation
public static java.lang.StringBuffer getBaseLocation(java.lang.String location)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException