Class FileCache


  • public class FileCache
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FileCache​(java.io.File tempPath)  
    • Method Summary

      Modifier and Type Method Description
      void addFile​(java.io.File file, java.lang.String filePath)  
      java.io.File createCacheFilePath​(java.lang.String filePath)  
      java.io.File getFile​(java.lang.String filePath)  
      void putFinishedCacheFile​(java.io.File file, java.lang.String filePath)  
      • Methods inherited from class java.lang.Object

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

      • FileCache

        public FileCache​(java.io.File tempPath)
    • Method Detail

      • getFile

        public java.io.File getFile​(java.lang.String filePath)
      • addFile

        public void addFile​(java.io.File file,
                            java.lang.String filePath)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • putFinishedCacheFile

        public void putFinishedCacheFile​(java.io.File file,
                                         java.lang.String filePath)
      • createCacheFilePath

        public java.io.File createCacheFilePath​(java.lang.String filePath)