Interface FileStorage

    • Method Detail

      • fetchFile

        boolean fetchFile​(String key,
                          File file)
                   throws IOException
        Fetches a file based on its key.
        Parameters:
        key - the file key
        file - the file to use to store the fetched data
        Returns:
        true if the file was fetched, false if the file was not found
        Throws:
        IOException - if a storage error occurred