Class StaticResourceResolver


  • public class StaticResourceResolver
    extends java.lang.Object
    Resolves resources from a set of resource loaders.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.net.URL> resolve​(java.lang.String resourcePath)
      Resolves a path to a URL.
      • Methods inherited from class java.lang.Object

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

      • resolve

        public java.util.Optional<java.net.URL> resolve​(java.lang.String resourcePath)
        Resolves a path to a URL.
        Parameters:
        resourcePath - The path to the resource
        Returns:
        The optional URL