Class StringBasedBlob
java.lang.Object
org.apache.jackrabbit.oak.plugins.memory.AbstractBlob
org.apache.jackrabbit.oak.plugins.memory.StringBasedBlob
- 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 a string.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull InputStreamDeprecated.This implementation returns the bytes of the UTF-8 encoding of the underlying string.longlength()Deprecated.This implementation returns the number of bytes in the UTF-8 encoding of the underlying string.toString()Deprecated.Methods inherited from class org.apache.jackrabbit.oak.plugins.memory.AbstractBlob
equal, equals, getContentIdentity, getReference, hashCode
-
Constructor Details
-
StringBasedBlob
Deprecated.
-
-
Method Details
-
toString
Deprecated.- Overrides:
toStringin classAbstractBlob
-
getNewStream
Deprecated.This implementation returns the bytes of the UTF-8 encoding of the underlying string.- Returns:
- a new stream for this blob
-
length
public long length()Deprecated.This implementation returns the number of bytes in the UTF-8 encoding of the underlying string.- Returns:
- the length of this blob.
-