public class StringBasedBlob extends AbstractBlob
Blob
implementations is based on a string.Constructor and Description |
---|
StringBasedBlob(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
@NotNull java.io.InputStream |
getNewStream()
This implementation returns the bytes of the UTF-8 encoding
of the underlying string.
|
long |
length()
This implementation returns the number of bytes in the UTF-8 encoding
of the underlying string.
|
java.lang.String |
toString() |
calculateSha256, equal, equals, getContentIdentity, getReference, hashCode
public java.lang.String toString()
toString
in class AbstractBlob
@NotNull public @NotNull java.io.InputStream getNewStream()
public long length()
Copyright © 2010 - 2020 Adobe. All Rights Reserved