Package tech.kronicle.pluginutils
Class BaseFileCache
- java.lang.Object
-
- tech.kronicle.pluginutils.BaseFileCache
-
public class BaseFileCache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BaseFileCache(FileUtils fileUtils, java.nio.file.Path cacheDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Optional<java.lang.String>getFileContent(java.lang.String key)protected voidputFileContent(java.lang.String key, java.lang.String content)
-
-
-
Constructor Detail
-
BaseFileCache
public BaseFileCache(FileUtils fileUtils, java.nio.file.Path cacheDir) throws java.io.IOException
- Throws:
java.io.IOException
-
-