Interface ResourceResolver


  • public interface ResourceResolver
    A resource resolver
    Since:
    19-Nov-2009
    Author:
    alessio.soldano@jboss.com
    • Method Detail

      • resolve

        URL resolve​(String resourcePath)
             throws IOException
        Get the URL for a given resource path
        Parameters:
        resourcePath - resource path
        Returns:
        URL of resource
        Throws:
        IOException - IO exception
      • resolveFailSafe

        URL resolveFailSafe​(String resourcePath)
        Same as resolve(String resourcePath) except it does not throw exception when resource is not found, simply returns null.
        Parameters:
        resourcePath - resource path
        Returns:
        URL of resource