| Package | Description |
|---|---|
| com.google.appengine.tools.cloudstorage |
| Modifier and Type | Method and Description |
|---|---|
GcsFilename |
GcsFileMetadata.getFilename() |
GcsFilename |
GcsOutputChannel.getFilename()
Returns the filename.
|
GcsFilename |
RawGcsService.RawGcsCreationToken.getFilename()
The Filename of the object being written.
|
| Modifier and Type | Method and Description |
|---|---|
RawGcsService.RawGcsCreationToken |
RawGcsService.beginObjectCreation(GcsFilename filename,
GcsFileOptions options,
long timeoutMillis) |
void |
GcsService.compose(Iterable<String> source,
GcsFilename dest)
Concatenates a list of existing files into a new file in the same bucket.
|
void |
RawGcsService.composeObject(Iterable<String> source,
GcsFilename dest,
long timeoutMillis)
Compose a file from given files.
|
void |
GcsService.copy(GcsFilename source,
GcsFilename dest)
Copies a file to a specified location.
|
void |
RawGcsService.copyObject(GcsFilename source,
GcsFilename dest,
GcsFileOptions fileOptions,
long timeoutMillis)
Copy source file to dest.
|
GcsOutputChannel |
GcsService.createOrReplace(GcsFilename filename,
GcsFileOptions options)
Creates a new object.
|
void |
GcsService.createOrReplace(GcsFilename filename,
GcsFileOptions options,
ByteBuffer src)
Creates, writes, and closes a new object with a given content.
|
boolean |
GcsService.delete(GcsFilename filename)
Deletes a file.
|
boolean |
RawGcsService.deleteObject(GcsFilename filename,
long timeoutMillis)
Returns true if deleted, false if not found.
|
GcsFileMetadata |
GcsService.getMetadata(GcsFilename filename) |
GcsFileMetadata |
RawGcsService.getObjectMetadata(GcsFilename filename,
long timeoutMillis)
Returns the meta-data for
filename. |
GcsInputChannel |
GcsService.openPrefetchingReadChannel(GcsFilename filename,
long startPosition,
int blockSizeBytes)
Same as
openReadChannel, but buffers data in memory and prefetches it before it is
required to avoid blocking on most read calls. |
GcsInputChannel |
GcsService.openReadChannel(GcsFilename filename,
long startPosition)
Note that the implementation may check if the file exists during the call to
openReadChannel, or only check it when the first byte is requested. |
void |
RawGcsService.putObject(GcsFilename filename,
GcsFileOptions options,
ByteBuffer content,
long timeoutMillis)
Create or replace
filename with the given content. |
Future<GcsFileMetadata> |
RawGcsService.readObjectAsync(ByteBuffer dst,
GcsFilename filename,
long offset,
long timeoutMillis)
Issues a request to the server to retrieve data to fill the provided buffer.
|
void |
GcsService.update(GcsFilename source,
GcsFileOptions options)
Updates a file's metadata with the given options.
|
| Constructor and Description |
|---|
GcsFileMetadata(GcsFilename filename,
GcsFileOptions options,
String etag,
long length,
Date lastModified) |
GcsFileMetadata(GcsFilename filename,
GcsFileOptions options,
String etag,
long length,
Date lastModified,
Map<String,String> xGoogHeaders) |
Copyright © 2016 Google. All rights reserved.