Interface ResourceLoader

    • Method Detail

      • getResource

        InputStream getResource​(String name)
        Returns input stream for the resource specified by the name. The user is responsible for closing the returned stream.
        Parameters:
        name - resource name
        Returns:
        resource input stream
      • isAvailable

        boolean isAvailable​(String name)
        Returns whether the resource specified by the name is available.
        Parameters:
        name - resource name
        Returns:
        resource availability