public class ArrayBasedBlob extends AbstractBlob
Blob
implementations is based on an array of bytes.Constructor and Description |
---|
ArrayBasedBlob(byte[] value) |
Modifier and Type | Method and Description |
---|---|
@NotNull java.io.InputStream |
getNewStream()
Returns a new stream for this blob.
|
long |
length()
Returns the length of this blob or -1 if unknown.
|
calculateSha256, equal, equals, getContentIdentity, getReference, hashCode, toString
@NotNull public @NotNull java.io.InputStream getNewStream()
Blob
read
return the same sequence of bytes as long as neither call throws
an exception.public long length()
Blob
Copyright © 2010 - 2020 Adobe. All Rights Reserved