public class GoogleCloudStorageEntry extends java.lang.Object implements ObjectStorageEntry<com.google.cloud.storage.Blob>
ObjectStorageEntry
implementation for Google Cloud Storage.Constructor and Description |
---|
GoogleCloudStorageEntry(com.google.cloud.storage.Blob blob) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream() |
java.lang.String |
getKey()
The object path on object storage.
|
com.google.cloud.storage.Blob |
getNativeEntry() |
public GoogleCloudStorageEntry(com.google.cloud.storage.Blob blob)
@NonNull public java.lang.String getKey()
ObjectStorageEntry
/path/to
getKey
in interface ObjectStorageEntry<com.google.cloud.storage.Blob>
@NonNull public java.io.InputStream getInputStream()
getInputStream
in interface ObjectStorageEntry<com.google.cloud.storage.Blob>
@NonNull public com.google.cloud.storage.Blob getNativeEntry()
getNativeEntry
in interface ObjectStorageEntry<com.google.cloud.storage.Blob>