Interface FileCache

All Superinterfaces:
AutoCloseable, Closeable

public interface FileCache extends Closeable
Cache of files.
Author:
Daniel Sagenschneider
  • Method Details

    • createFile

      Path createFile(String name) throws IOException
      Creates a new file.
      Parameters:
      name - Name to aid in identifying the file for debugging.
      Returns:
      Path to the new file.
      Throws:
      IOException - If fails to create the file.
    • createDirectory

      Path createDirectory(String name) throws IOException
      Creates a new directory.
      Parameters:
      name - Name to aid in identifying the file for debugging.
      Returns:
      Path to the new directory.
      Throws:
      IOException - If fails to create the directory.