public interface CloudStorageFileAttributes extends BasicFileAttributes
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<List<Acl>> |
acl()
Returns access control list.
|
com.google.common.base.Optional<String> |
cacheControl()
Returns
Cache-Control HTTP header value, if set. |
com.google.common.base.Optional<String> |
contentDisposition()
Returns
Content-Disposition HTTP header value, if set. |
com.google.common.base.Optional<String> |
contentEncoding()
Returns
Content-Encoding HTTP header value, if set. |
com.google.common.base.Optional<String> |
etag()
Returns HTTP etag hash of object contents.
|
com.google.common.base.Optional<String> |
mimeType()
Returns mime type (e.g.
|
Map<String,String> |
userMetadata()
Returns user-specified metadata.
|
creationTime, fileKey, isDirectory, isOther, isRegularFile, isSymbolicLink, lastAccessTime, lastModifiedTime, size
com.google.common.base.Optional<String> etag()
com.google.common.base.Optional<String> mimeType()
com.google.common.base.Optional<List<Acl>> acl()
com.google.common.base.Optional<String> cacheControl()
Cache-Control
HTTP header value, if set.com.google.common.base.Optional<String> contentEncoding()
Content-Encoding
HTTP header value, if set.com.google.common.base.Optional<String> contentDisposition()
Content-Disposition
HTTP header value, if set.Copyright © 2019 Google LLC. All rights reserved.