Package com.logicaldoc.importfolder
Class ImportFolderCache
java.lang.Object
com.logicaldoc.importfolder.ImportFolderCache
Implements a cache of imported documents, basically a importFolder cache is a
Map file_path-(file_path,last_import_date,document_id).
The store is done in plain text files organized per file_path hash codes.
- Since:
- 3.5
- Author:
- Marco Meschieri - LogicalDOC
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA single entry in the cache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidempty()getRoot()voidput(ImportFolderCache.CacheEntry entry)
-
Constructor Details
-
ImportFolderCache
-
-
Method Details
-
getRoot
-
get
- Throws:
IOException
-
put
- Throws:
IOException
-
empty
public void empty()
-