Class 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 void putFileContent​(java.lang.String key, java.lang.String content)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseFileCache

        public BaseFileCache​(FileUtils fileUtils,
                             java.nio.file.Path cacheDir)
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getFileContent

        protected java.util.Optional<java.lang.String> getFileContent​(java.lang.String key)
      • putFileContent

        protected void putFileContent​(java.lang.String key,
                                      java.lang.String content)