Class ArrayBasedBlob
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.memory.AbstractBlob
-
- org.apache.jackrabbit.oak.plugins.memory.ArrayBasedBlob
-
- All Implemented Interfaces:
org.apache.jackrabbit.oak.api.Blob
public class ArrayBasedBlob extends AbstractBlob
ThisBlobimplementations is based on an array of bytes.
-
-
Constructor Summary
Constructors Constructor Description ArrayBasedBlob(byte[] value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull InputStreamgetNewStream()longlength()-
Methods inherited from class org.apache.jackrabbit.oak.plugins.memory.AbstractBlob
calculateSha256, equal, equals, getContentIdentity, getReference, hashCode, sha256, toString
-
-
-
-
Method Detail
-
getNewStream
@NotNull public @NotNull InputStream getNewStream()
-
length
public long length()
-
-