org.ofbiz.base.location
Class ClasspathLocationResolver

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

Constructor Detail

ClasspathLocationResolver

public ClasspathLocationResolver()
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

resolveLocation

public java.net.URL resolveLocation(java.lang.String location,
                                    java.lang.ClassLoader loader)
                             throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException