Interface JarUtil.Resolver

  • Enclosing class:
    JarUtil

    public static interface JarUtil.Resolver
    Interface allowing users to provide an URL resolver that will convert custom classloader URLs like Eclipse/OSGi bundleresource: URLs to normal jar: URLs.

    This might be required for custom classloader where the URI protocol is unknown to the standard runtime environment.

    Note: The provided resolver is only utilized if a given URI's protocol could not be resolved. I.e. it will not be invoked for known protocols like http, https, jar or file.

    • Method Detail

      • resolve

        URL resolve​(URL url)