Class GridFSBinaryManager.GridFSBinary
java.lang.Object
org.nuxeo.ecm.core.blob.binary.Binary
org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager.GridFSBinary
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GridFSBinaryManager
A binary backed by GridFS.
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.blob.binary.Binary
blobProviderId, digest, file
-
Constructor Summary
ModifierConstructorDescriptionprotected
GridFSBinary
(String digest, String blobProviderId, GridFSBinaryManager bm) -
Method Summary
Modifier and TypeMethodDescriptionprotected GridFSBinaryManager
Gets an input stream for the binary.protected File
Recomputes the file attribute by getting it from a new Binary for the same digest.Methods inherited from class org.nuxeo.ecm.core.blob.binary.Binary
getBlobProviderId, getDigest, getDigestAlgorithm, getFile, toString
-
Field Details
-
bm
-
-
Constructor Details
-
GridFSBinary
-
-
Method Details
-
getBinaryManager
-
getStream
Description copied from class:Binary
Gets an input stream for the binary. -
recomputeFile
Description copied from class:Binary
Recomputes the file attribute by getting it from a new Binary for the same digest.- Overrides:
recomputeFile
in classBinary
-