Interface ResourceFactory

    • Method Detail

      • getResource

        Resource getResource​(java.lang.String path)
                      throws java.io.IOException
        Get a Resource from a provided String.

        The behavior here is dependent on the implementation of ResourceFactory. The provided path can be resolved against a known Resource, or can be a from-scratch Resource.

        Parameters:
        path - The path to the resource
        Returns:
        The resource, that might not actually exist (yet).
        Throws:
        java.io.IOException - if unable to create Resource