Uses of Class
com.google.appengine.tools.cloudstorage.GcsFilename
-
Packages that use GcsFilename Package Description com.google.appengine.tools.cloudstorage -
-
Uses of GcsFilename in com.google.appengine.tools.cloudstorage
Methods in com.google.appengine.tools.cloudstorage that return GcsFilename 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.Methods in com.google.appengine.tools.cloudstorage with parameters of type GcsFilename 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 forfilename
.GcsInputChannel
GcsService. openPrefetchingReadChannel(GcsFilename filename, long startPosition, int blockSizeBytes)
Same asopenReadChannel
, 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 toopenReadChannel
, or only check it when the first byte is requested.void
RawGcsService. putObject(GcsFilename filename, GcsFileOptions options, ByteBuffer content, long timeoutMillis)
Create or replacefilename
with the givencontent
.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.Constructors in com.google.appengine.tools.cloudstorage with parameters of type GcsFilename 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.