Interface ResourceQueryable

    • Method Detail

      • locateResource

        Optional<URI> locateResource​(URI relative)
        Resolves the location of a bundled resource, given a relative URI.
        Parameters:
        relative - The relative URI
        Returns:
        The resolved resource location, if available
      • openResource

        default Optional<InputStream> openResource​(URI relative)
        Opens an InputStream of the location of a bundled resource, given a relative URI.
        Parameters:
        relative - The relative URI
        Returns:
        The opened resource, if available