Interface RequireLookup


  • public interface RequireLookup
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean exists​(java.lang.String filename)
      Returns true if the "file" exists and is a file (not a directory), otherwise false.
      java.io.Reader getContent​(java.lang.String filename)
      Returns a Reader with the content of the file if it exists, otherwise null.
    • Method Detail

      • exists

        boolean exists​(java.lang.String filename)
        Returns true if the "file" exists and is a file (not a directory), otherwise false.
        Parameters:
        filename - name of the file
        Returns:
        true if the "file" exists and is a file (not a directory), otherwise false.
      • getContent

        java.io.Reader getContent​(java.lang.String filename)
        Returns a Reader with the content of the file if it exists, otherwise null.
        Parameters:
        filename - name of the file
        Returns:
        a Reader with the content of the file if it exists, otherwise null.