Class ResourceResolver


  • @Internal
    public final class ResourceResolver
    extends java.lang.Object
    Allows you to provide the URI of a class whose classpath item
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URI resolveURIFromResourceByClass​(java.lang.Class<?> clazz)
      Allows you to provide the URI of a class whose classpath item
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • resolveURIFromResourceByClass

        public static java.net.URI resolveURIFromResourceByClass​(java.lang.Class<?> clazz)
        Allows you to provide the URI of a class whose classpath item
        Parameters:
        clazz - the class, which should resolve the classpath item URI from
        Returns:
        the uri of the classpath element or null if an exception was caught
        See Also:
        Class, ProtectionDomain, CodeSource