Package net.officefloor.web.resource.spi
Interface FileCache
- All Superinterfaces:
AutoCloseable,Closeable
Cache of files.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptioncreateDirectory(String name) Creates a new directory.createFile(String name) Creates a new file.
-
Method Details
-
createFile
Creates a new file.- Parameters:
name- Name to aid in identifying the file for debugging.- Returns:
Pathto the new file.- Throws:
IOException- If fails to create the file.
-
createDirectory
Creates a new directory.- Parameters:
name- Name to aid in identifying the file for debugging.- Returns:
Pathto the new directory.- Throws:
IOException- If fails to create the directory.
-