Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acl() - Method in interface com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes
-
Returns access control list.
- addPrefetcher(int, SeekableByteChannel) - Static method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Wraps the provided SeekableByteChannel within a SeekableByteChannelPrefetcher, using the provided buffer size
- autoDetectRequesterPays(boolean) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
B
- BASIC_VIEW - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- BLOCK_SIZE_DEFAULT - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- blockSize() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns block size (in bytes) used when talking to the Google Cloud Storage HTTP server.
- blockSize(int) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
-
Sets the block size in bytes that should be used for each HTTP request to the API.
- bucket() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns Cloud Storage bucket name being served by this file system.
- bucket() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
-
Returns the Cloud Storage bucket name being served by this file system.
- build() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
-
Creates new instance without destroying builder.
- builder() - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Creates a new builder, initialized with the following settings: Performing I/O on paths with extra slashes, e.g.
- bytesRead - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- bytesReturned - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
C
- cacheControl() - Method in interface com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes
-
Returns
Cache-Control
HTTP header value, if set. - checkAccess(Path, AccessMode...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- close() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Does nothing currently.
- close() - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Closes this channel.
- CloudStorageConfiguration - Class in com.google.cloud.storage.contrib.nio
-
Configuration for
CloudStorageFileSystem
instances. - CloudStorageConfiguration.Builder - Class in com.google.cloud.storage.contrib.nio
-
Builder for
CloudStorageConfiguration
. - CloudStorageFileAttributes - Interface in com.google.cloud.storage.contrib.nio
-
Interface for attributes on a Cloud Storage file or pseudo-directory.
- CloudStorageFileAttributeView - Class in com.google.cloud.storage.contrib.nio
-
Metadata view for a Google Cloud Storage object.
- CloudStorageFileSystem - Class in com.google.cloud.storage.contrib.nio
-
Google Cloud Storage
FileSystem
implementation. - CloudStorageFileSystemProvider - Class in com.google.cloud.storage.contrib.nio
-
Google Cloud Storage
FileSystemProvider
implementation. - CloudStorageFileSystemProvider() - Constructor for class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Default constructor which should only be called by Java SPI.
- CloudStorageObjectImmutableException - Exception in com.google.cloud.storage.contrib.nio
-
Exception reminding user that Cloud Storage objects can't be mutated.
- CloudStorageOption - Interface in com.google.cloud.storage.contrib.nio
-
Main interface for file operation option classes related to Google Cloud Storage.
- CloudStorageOption.Copy - Interface in com.google.cloud.storage.contrib.nio
-
Interface for Google Cloud Storage options that can be specified when copying files.
- CloudStorageOption.Open - Interface in com.google.cloud.storage.contrib.nio
-
Interface for Google Cloud Storage options that can be specified when opening files.
- CloudStorageOption.OpenCopy - Interface in com.google.cloud.storage.contrib.nio
-
Interface for Google Cloud Storage options that can be specified when opening or copying files.
- CloudStorageOptions - Class in com.google.cloud.storage.contrib.nio
-
Helper class for specifying options when opening and copying Cloud Storage files.
- CloudStoragePath - Class in com.google.cloud.storage.contrib.nio
-
A Google Cloud Storage specific implementation of the
java.nio.file.Path
interface. - CloudStoragePseudoDirectoryException - Exception in com.google.cloud.storage.contrib.nio
-
Exception thrown when erroneously trying to operate on a path with a trailing slash.
- CloudStorageRetryHandler - Class in com.google.cloud.storage.contrib.nio
-
Simple counter class to keep track of retry and reopen attempts when StorageExceptions are encountered.
- CloudStorageRetryHandler(int) - Constructor for class com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler
-
Deprecated.use CloudStorageRetryHandler(CloudStorageConfiguration) instead.
- CloudStorageRetryHandler(int, int) - Constructor for class com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler
-
Deprecated.use CloudStorageRetryHandler(CloudStorageConfiguration) instead.
- CloudStorageRetryHandler(int, int, CloudStorageConfiguration) - Constructor for class com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler
-
Create a CloudStorageRetryHandler with the maximum retries and reopens set to different values.
- CloudStorageRetryHandler(CloudStorageConfiguration) - Constructor for class com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler
-
Create a CloudStorageRetryHandler with the maximum retries and reopens set to the same value.
- com.google.cloud.storage.contrib.nio - package com.google.cloud.storage.contrib.nio
-
Java 7 nio FileSystem client library for Google Cloud Storage.
- com.google.cloud.storage.contrib.nio.testing - package com.google.cloud.storage.contrib.nio.testing
- compareTo(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- config() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns configuration object for this file system instance.
- contentDisposition() - Method in interface com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes
-
Returns
Content-Disposition
HTTP header value, if set. - contentEncoding() - Method in interface com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes
-
Returns
Content-Encoding
HTTP header value, if set. - copy(Path, Path, CopyOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- create(StorageOptions) - Method in class com.google.cloud.storage.contrib.nio.testing.LocalStorageHelper.FakeStorageRpcFactory
- createDirectory(Path, FileAttribute<?>...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Does nothing since Google Cloud Storage uses fake directories.
- customOptions(boolean) - Static method in class com.google.cloud.storage.contrib.nio.testing.LocalStorageHelper
-
Returns a
StorageOptions
that creates a new FakeStorageRpc instance with the given option.
D
- DEFAULT - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
- delete(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- deleteIfExists(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
E
- endsWith(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- endsWith(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- equals(Object) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView
- equals(Object) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- equals(Object) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- equals(Object) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- etag() - Method in interface com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes
-
Returns HTTP etag hash of object contents.
F
- FakeStorageRpcFactory() - Constructor for class com.google.cloud.storage.contrib.nio.testing.LocalStorageHelper.FakeStorageRpcFactory
- FakeStorageRpcFactory(FakeStorageRpc) - Constructor for class com.google.cloud.storage.contrib.nio.testing.LocalStorageHelper.FakeStorageRpcFactory
- fetch(long) - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
- FILE_TIME_UNKNOWN - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- forBucket(String) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns Google Cloud Storage
FileSystem
object forbucket
. - forBucket(String, CloudStorageConfiguration) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Creates new file system instance for
bucket
, with customizable settings. - forBucket(String, CloudStorageConfiguration, StorageOptions) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns Google Cloud Storage
FileSystem
object forbucket
.
G
- GCS_VIEW - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- getFileName() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- getFileStore(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Throws
UnsupportedOperationException
because this feature hasn't been implemented yet. - getFileStores() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns nothing because Google Cloud Storage doesn't have disk partitions of limited size, or anything similar.
- getFileSystem() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- getFileSystem(URI) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Returns Cloud Storage file system, provided a URI with no path, e.g.
- getName(int) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- getNameCount() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- getOptions() - Static method in class com.google.cloud.storage.contrib.nio.testing.LocalStorageHelper
-
Returns a
StorageOptions
that use the static FakeStorageRpc instance, and resets it first so you start from a clean slate. - getParent() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- getPath(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Convenience method: replaces spaces with "%20", builds a URI, and calls getPath(uri).
- getPath(String, String...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Converts Cloud Storage object name to a
Path
object. - getPath(URI) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- getPathMatcher(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- getProject() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Returns the project that is assigned to this provider.
- getRoot() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- getRootDirectories() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- getScheme() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- getSeparator() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns '/'.
- getStatistics() - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
- getUserPrincipalLookupService() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Throws
UnsupportedOperationException
because this feature hasn't been implemented yet.
H
- handleStorageException(StorageException) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler
-
Checks whether we should retry, reopen, or give up.
- hashCode() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView
- hashCode() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- hashCode() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- hashCode() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
I
- isAbsolute() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- isHidden(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Always returns
false
, because Google Cloud Storage doesn't support hidden files. - isOpen() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns
true
, even if you previously called theCloudStorageFileSystem.close()
method. - isOpen() - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Tells whether or not this channel is open.
- isReadOnly() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Returns
false
. - isSameFile(Path, Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- iterator() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
L
- listBuckets(String, Storage.BucketListOption...) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Lists the project's buckets.
- LocalStorageHelper - Class in com.google.cloud.storage.contrib.nio.testing
-
Utility to create an in-memory storage configuration for testing.
- LocalStorageHelper.FakeStorageRpcFactory - Class in com.google.cloud.storage.contrib.nio.testing
M
- maxChannelReopens() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns the number of times we try re-opening a channel if it's closed unexpectedly while reading.
- maxChannelReopens(int) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
- mimeType() - Method in interface com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes
-
Returns mime type (e.g.
- move(Path, Path, CopyOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- msBetweenCallsToRead - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- msCopyingData - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- msWaitingForData - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
N
- name() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView
-
Returns "gcs".
- nbGoingBack - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- nbHit - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- nbMiss - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- nbNearHit - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- nbReadsPastEnd - Variable in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- newByteChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Open a file for reading or writing.
- newDirectoryStream(Path, DirectoryStream.Filter<? super Path>) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- newFileChannel(Path, Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Open a file for reading OR writing.
- newFileSystem(URI, Map<String, ?>) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Returns Cloud Storage file system, provided a URI, e.g.
- newInputStream(Path, OpenOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- newWatchService() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
-
Throws
UnsupportedOperationException
because this feature hasn't been implemented yet. - normalize() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
-
Returns path without extra slashes or
.
and..
and preserves trailing slash.
P
- permitEmptyPathComponents() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns
true
if we shouldn't throw an exception when encountering object names containing superfluous slashes, e.g. - permitEmptyPathComponents(boolean) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
-
Configures whether or not we should throw an exception when encountering object names containing superfluous slashes, e.g.
- position() - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Returns this channel's position.
- position(long) - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Sets this channel's position.
- POSIX_VIEW - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- provider() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
R
- read(ByteBuffer) - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Reads a sequence of bytes from this channel into the given buffer.
- readAttributes() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView
- readAttributes(Path, Class<A>, LinkOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- readAttributes(Path, String, LinkOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- register(WatchService, WatchEvent.Kind<?>...) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
-
Throws
UnsupportedOperationException
because this feature hasn't been implemented yet. - register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
-
Throws
UnsupportedOperationException
because this feature hasn't been implemented yet. - relativize(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- reopenableExceptions() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns the set of exceptions for which we'll try a channel reopen if maxChannelReopens is positive.
- reopenableExceptions(ImmutableList<Class<? extends Exception>>) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
- reopens() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler
- requesterPays(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- resolve(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- resolve(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- resolveSibling(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- resolveSibling(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- retries() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler
- retryableHttpCodes() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns the set of HTTP error codes that will be retried, in addition to the normally retryable ones.
- retryableHttpCodes(ImmutableList<Integer>) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
S
- SeekableByteChannelPrefetcher - Class in com.google.cloud.storage.contrib.nio
-
SeekableByteChannelPrefetcher wraps an existing SeekableByteChannel to add prefetching.
- SeekableByteChannelPrefetcher.Statistics - Class in com.google.cloud.storage.contrib.nio
- setAttribute(Path, String, Object, LinkOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Throws
UnsupportedOperationException
because Cloud Storage objects are immutable. - setDefaultCloudStorageConfiguration(CloudStorageConfiguration) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Changes the default configuration for every filesystem object created from here on, including via SPI.
- setStorageOptions(StorageOptions) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Sets options that are only used by the constructor.
- setTimes(FileTime, FileTime, FileTime) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView
-
This feature is not supported, since Cloud Storage objects are immutable.
- size() - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Returns the current size of entity to which this channel is connected.
- startsWith(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- startsWith(Path) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- stripPrefixSlash() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns
true
if '/' prefix on absolute object names should be removed before I/O. - stripPrefixSlash(boolean) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
-
Configures if the '/' prefix on absolute object names should be removed before I/O.
- subpath(int, int) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- SUPPORTED_VIEWS - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- supportedFileAttributeViews() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
T
- toAbsolutePath() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
-
Changes relative path to be absolute, using
workingDirectory
as current dir. - toFile() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
-
Throws
UnsupportedOperationException
because Google Cloud Storage files are not backed by the local file system. - toRealPath(LinkOption...) - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
-
Returns this path rewritten to the Cloud Storage object name that'd be used to perform i/o.
- toString() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView
- toString() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- toString() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
- toString() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- toString() - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics
- toUri() - Method in class com.google.cloud.storage.contrib.nio.CloudStoragePath
- truncate(long) - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Not supported.
U
- URI_SCHEME - Static variable in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystem
- usePseudoDirectories() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns
true
if directories and paths with a trailing slash should be treated as fake directories. - usePseudoDirectories(boolean) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
-
Configures if paths with a trailing slash should be treated as fake directories.
- userMetadata() - Method in interface com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes
-
Returns user-specified metadata.
- userProject() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns the project to be billed when accessing buckets.
- userProject(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
- useUserProjectOnlyForRequesterPaysBuckets() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns whether userProject will be cleared for non-requester-pays buckets.
W
- withAcl(Acl) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets the ACL value on a Cloud Storage object.
- withBlockSize(int) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets the block size (in bytes) when talking to the Google Cloud Storage server.
- withCacheControl(String) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets the
Cache-Control
HTTP header on an object. - withChannelReopen(int) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets the max number of times that the channel can be reopened if reading fails because the channel unexpectedly closes.
- withContentDisposition(String) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets the
Content-Disposition
HTTP header on an object. - withContentEncoding(String) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets the
Content-Encoding
HTTP header on an object. - withMimeType(String) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets the mime type header on an object, e.g.
- withNoUserProject() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider
-
Returns a NEW CloudStorageFileSystemProvider identical to this one, but with userProject removed.
- withoutCaching() - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Disables caching on an object.
- withUserMetadata(String, String) - Static method in class com.google.cloud.storage.contrib.nio.CloudStorageOptions
-
Sets an unmodifiable piece of user metadata on a Cloud Storage object.
- workingDirectory() - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration
-
Returns path of current working directory.
- workingDirectory(String) - Method in class com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder
-
Changes current working directory for new filesystem.
- write(ByteBuffer) - Method in class com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher
-
Writing isn't supported.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form