Package org.nuxeo.ecm.core.blob
Class BlobWriteContext
java.lang.Object
org.nuxeo.ecm.core.blob.BlobWriteContext
Context available when a blob is written.
- Since:
- 11.1
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlobWriteContext
(BlobContext blobContext, KeyStrategy.WriteObserver writeObserver, Supplier<String> keyComputer, KeyStrategy keyStrategy) -
Method Summary
-
Field Details
-
blobContext
-
writeObserver
-
keyComputer
-
keyStrategy
-
file
-
-
Constructor Details
-
BlobWriteContext
public BlobWriteContext(BlobContext blobContext, KeyStrategy.WriteObserver writeObserver, Supplier<String> keyComputer, KeyStrategy keyStrategy)
-
-
Method Details
-
copyWithKey
-
copyWithNoWriteObserverAndKey
-
useDeDuplication
public boolean useDeDuplication() -
getKey
-
setFile
-
getFile
-
getStream
- Throws:
IOException
-