| Constructor and Description |
|---|
BlobStoreBlob(BlobStore blobStore,
java.lang.String blobId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getBlobId() |
BlobStore |
getBlobStore() |
java.lang.String |
getContentIdentity()
A unique identifier of the content of this value.
|
@NotNull java.io.InputStream |
getNewStream()
Returns a new stream for this blob.
|
@Nullable java.lang.String |
getReference()
Returns a secure reference to this blob, or
null if such
a reference is not available. |
int |
hashCode() |
boolean |
isInlined()
Checks if the external blob is inlined in the id itself
|
long |
length()
Returns the length of this blob or -1 if unknown.
|
java.lang.String |
toString() |
public BlobStoreBlob(BlobStore blobStore, java.lang.String blobId)
@NotNull public @NotNull java.io.InputStream getNewStream()
Blobread
return the same sequence of bytes as long as neither call throws
an exception.getNewStream in interface Blobpublic long length()
Blob@Nullable public @Nullable java.lang.String getReference()
Blobnull if such
a reference is not available.getReference in interface Blobnullpublic java.lang.String getContentIdentity()
BlobThis method returns null if the identifier is unknown. The identifier may not always be available, for example if the value has not yet been saved or processed. Once an identifier is available, it will never change because values are immutable.
If two values have the same identifier, the content of the value is guaranteed to be the same. However it is not guaranteed that two values with the same content will return the same identifier.
The identifier is opaque, meaning it can have any format and size.
getContentIdentity in interface Blobpublic boolean isInlined()
Blobpublic java.lang.String getBlobId()
public BlobStore getBlobStore()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved