Class ClassLoaderResource

    • Constructor Detail

      • ClassLoaderResource

        public ClassLoaderResource​(URL url,
                                   ClassLoader classLoader)
        Creates a classloader resource.
        Parameters:
        url - the URL of the resource
        classLoader - the classloader on which it was found
    • Method Detail

      • getUrl

        public URL getUrl()
        Returns the URL of the resource.
        Returns:
        the resource URL
      • getClassLoader

        public ClassLoader getClassLoader()
        Returns the classloader on which the resource was found.
        Returns:
        the classloader that found the resource