public class GoogleCloudStorageClientImpl extends ForwardingGoogleCloudStorage
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleCloudStorageClientImpl.Builder |
GoogleCloudStorage.ListPage<T>MAX_COMPOSE_OBJECTS, MAX_RESULTS_UNLIMITED, PATH_DELIMITER| Modifier and Type | Method and Description |
|---|---|
static GoogleCloudStorageClientImpl.Builder |
builder() |
void |
close()
Releases resources used by this instance.
|
WritableByteChannel |
create(StorageResourceId resourceId,
CreateObjectOptions options)
Creates and opens an object for writing.
|
SeekableByteChannel |
open(StorageResourceId resourceId,
GoogleCloudStorageReadOptions readOptions)
Opens an object for reading.
|
compose, composeObjects, copy, copy, createBucket, createEmptyObject, createEmptyObject, createEmptyObjects, createEmptyObjects, deleteBuckets, deleteObjects, getDelegate, getItemInfo, getItemInfos, getOptions, listBucketInfo, listBucketNames, listObjectInfo, listObjectInfoPage, updateItemsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createBucket, listObjectInfo, listObjectInfoPage, openpublic WritableByteChannel create(StorageResourceId resourceId, CreateObjectOptions options) throws IOException
GoogleCloudStorageresourceId
contains a known generationId or a generationId of 0, it is used instead of any "overwrite"
settings in the provided CreateObjectOptions (overwrite will only succeed if the
provided generationId matches the existing object, where a generationId of 0 indicates no
existing object expected).create in interface GoogleCloudStoragecreate in class ForwardingGoogleCloudStorageresourceId - identifies a StorageObjectoptions - Options to use when creating the objectIOException - on IO errorpublic SeekableByteChannel open(StorageResourceId resourceId, GoogleCloudStorageReadOptions readOptions) throws IOException
GoogleCloudStorageopen in interface GoogleCloudStorageopen in class ForwardingGoogleCloudStorageresourceId - identifies a StorageObjectreadOptions - Fine-grained options for behaviors of retries, buffering, etc.FileNotFoundException - if the given object does not existIOException - if object exists but cannot be openedpublic void close()
GoogleCloudStorageclose in interface GoogleCloudStorageclose in class ForwardingGoogleCloudStoragepublic static GoogleCloudStorageClientImpl.Builder builder()
Copyright © 2023. All rights reserved.