Class ArrayBasedBlob
java.lang.Object
org.apache.jackrabbit.oak.plugins.memory.AbstractBlob
org.apache.jackrabbit.oak.plugins.memory.ArrayBasedBlob
- All Implemented Interfaces:
Blob
Deprecated.
The Jackrabbit Oak Memory library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after October 2025.
This
Blob implementations is based on an array of bytes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull InputStreamDeprecated.Returns a new stream for this blob.longlength()Deprecated.Returns the length of this blob or -1 if unknown.Methods inherited from class org.apache.jackrabbit.oak.plugins.memory.AbstractBlob
equal, equals, getContentIdentity, getReference, hashCode, toString
-
Constructor Details
-
ArrayBasedBlob
public ArrayBasedBlob(byte[] value) Deprecated.
-
-
Method Details
-
getNewStream
Deprecated.Description copied from interface:BlobReturns a new stream for this blob. The streams returned from multiple calls to this method are byte wise equals. That is, subsequent calls toreadreturn the same sequence of bytes as long as neither call throws an exception.- Returns:
- a new stream for this blob
-
length
public long length()Deprecated.Description copied from interface:BlobReturns the length of this blob or -1 if unknown.- Returns:
- the length of this blob.
-