org.ofbiz.base.location
Class ComponentLocationResolver

java.lang.Object
  extended by 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
           
 
Constructor Summary
ComponentLocationResolver()
           
 
Method Summary
static java.lang.StringBuffer getBaseLocation(java.lang.String location)
           
 java.net.URL resolveLocation(java.lang.String location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

ComponentLocationResolver

public ComponentLocationResolver()
Method Detail

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