Package org.nuxeo.ecm.core.blob.binary
Class Binary
java.lang.Object
org.nuxeo.ecm.core.blob.binary.Binary
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GridFSBinaryManager.GridFSBinary
,LazyBinary
Deprecated.
since 2023.9
A binary object that can be read, and has a length and a digest.
- Author:
- Florent Guillaume, Bogdan Stefanescu
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the blob provider which created this blob.Deprecated.Gets a string representation of the hex digest of the binary.Deprecated.Gets the digest algorithm from the digest length.getFile()
Deprecated.Deprecated.Gets an input stream for the binary.protected File
Deprecated.Recomputes the file attribute by getting it from a new Binary for the same digest.toString()
Deprecated.
-
Field Details
-
digest
Deprecated. -
blobProviderId
Deprecated. -
file
Deprecated.
-
-
Constructor Details
-
Binary
Deprecated. -
Binary
Deprecated.
-
-
Method Details
-
getDigestAlgorithm
Deprecated.Gets the digest algorithm from the digest length.- Since:
- 7.4
-
getDigest
Deprecated.Gets a string representation of the hex digest of the binary.- Returns:
- the digest, characters are in the range
[0-9a-f]
-
getBlobProviderId
Deprecated.Gets the blob provider which created this blob.This is usually the repository name.
- Returns:
- the blob provider id
- Since:
- 7.3
-
getStream
Deprecated.Gets an input stream for the binary.- Returns:
- the input stream
- Throws:
IOException
-
toString
Deprecated. -
getFile
Deprecated. -
recomputeFile
Deprecated.Recomputes the file attribute by getting it from a new Binary for the same digest.
-