Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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