Interface FileOperationProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.io.InputStream readFile​(java.lang.String filePath)
      Gets a InputStream for reading the content of the file with the specified path.
    • Method Detail

      • readFile

        java.io.InputStream readFile​(java.lang.String filePath)
                              throws java.io.IOException
        Gets a InputStream for reading the content of the file with the specified path.
        Parameters:
        filePath - the system-dependent file path.
        Returns:
        the InputStream that can be read to get the file content.
        Throws:
        java.io.IOException - if the file does not exist, is a directory rather than a regular file, or for some other reason cannot be opened for reading.