com.google.appengine.tools.cloudstorage
Class GcsFileMetadata
- java.lang.Object
-
- com.google.appengine.tools.cloudstorage.GcsFileMetadata
-
public final class GcsFileMetadata extends Object
Contains metadata about a Google Cloud Storage Object.
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
equals(Object o)
String
getEtag()
GcsFilename
getFilename()
Date
getLastModified()
long
getLength()
GcsFileOptions
getOptions()
Map<String,String>
getXGoogHeaders()
Returns the Google headers that were provided together with the metadata.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
GcsFileMetadata
public GcsFileMetadata(GcsFilename filename, GcsFileOptions options, String etag, long length, Date lastModified)
-
GcsFileMetadata
public GcsFileMetadata(GcsFilename filename, GcsFileOptions options, String etag, long length, Date lastModified, Map<String,String> xGoogHeaders)
-
-
Method Detail
-
getFilename
public GcsFilename getFilename()
-
getOptions
public GcsFileOptions getOptions()
-
getEtag
public String getEtag()
-
getLength
public long getLength()
-
getLastModified
public Date getLastModified()
-
getXGoogHeaders
public Map<String,String> getXGoogHeaders()
Returns the Google headers that were provided together with the metadata. Some of the headers such as 'x-goog-component-count' could be considered as an extended metadata set.- See Also:
- Goog extension headers for a complete list of headers.
-
-
Copyright © 2016 Google. All rights reserved.