Interface ResourceLoader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.io.InputStream getResourceAsStream​(java.lang.String path)
      Returns resource identified by path as InputStream or null if resource does not exist.
      boolean hasResource​(java.lang.String path)
      Checks whether this loader can load resource identified by path.
    • Method Detail

      • hasResource

        boolean hasResource​(java.lang.String path)
        Checks whether this loader can load resource identified by path.
        Parameters:
        path - the path identifying resource.
        Returns:
        true whether this loader can load resource, otherwise false.
      • getResourceAsStream

        java.io.InputStream getResourceAsStream​(java.lang.String path)
        Returns resource identified by path as InputStream or null if resource does not exist.
        Parameters:
        path - the path identifying resource.
        Returns:
        Resource as InputStream or null.