Package com.logicaldoc.enterprise.storer
Class EnterpriseFSStorer
java.lang.Object
com.logicaldoc.core.store.AbstractStorer
com.logicaldoc.core.store.FSStorer
com.logicaldoc.enterprise.storer.EnterpriseFSStorer
- All Implemented Interfaces:
com.logicaldoc.core.store.Storer
,Comparable<com.logicaldoc.core.store.Storer>
public class EnterpriseFSStorer
extends com.logicaldoc.core.store.FSStorer
A storer that operates on the Filesystem and also has compression
capabilities. If the parameter encryption=true all the document
resources will be placed in a compressed archive called container.
This archive is also encrypted.
- Since:
- 7.6.4
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
byte[]
listResources
(long docId, String fileVersion) long
void
void
store
(InputStream stream, long docId, String resource) void
writeToFile
(long docId, String resource, File out) Methods inherited from class com.logicaldoc.core.store.FSStorer
delete, getContainer, getRoot, getTotalSize, moveResourcesToStore
Methods inherited from class com.logicaldoc.core.store.AbstractStorer
compareTo, destroy, equals, getBytes, getConfig, getId, getParameters, getResourceName, getResourceName, getStorerDefinitions, getString, hashCode, init, isEnabled, newStorer, setConfig, setId, test, toString, writeToStream, writeToStream
-
Constructor Details
-
EnterpriseFSStorer
public EnterpriseFSStorer()
-
-
Method Details
-
getParameterNames
- Specified by:
getParameterNames
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
getParameterNames
in classcom.logicaldoc.core.store.FSStorer
-
store
- Specified by:
store
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
store
in classcom.logicaldoc.core.store.FSStorer
- Throws:
IOException
-
store
- Specified by:
store
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
store
in classcom.logicaldoc.core.store.FSStorer
- Throws:
IOException
-
delete
- Specified by:
delete
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
delete
in classcom.logicaldoc.core.store.FSStorer
-
listResources
- Specified by:
listResources
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
listResources
in classcom.logicaldoc.core.store.FSStorer
-
size
- Specified by:
size
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
size
in classcom.logicaldoc.core.store.FSStorer
-
exists
- Specified by:
exists
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
exists
in classcom.logicaldoc.core.store.FSStorer
-
getStream
- Specified by:
getStream
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
getStream
in classcom.logicaldoc.core.store.FSStorer
- Throws:
IOException
-
writeToFile
- Specified by:
writeToFile
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
writeToFile
in classcom.logicaldoc.core.store.FSStorer
- Throws:
IOException
-
getBytes
- Specified by:
getBytes
in interfacecom.logicaldoc.core.store.Storer
- Overrides:
getBytes
in classcom.logicaldoc.core.store.FSStorer
- Throws:
IOException
-