Class CloudStorageFileAttributeView (0.127.27)

public final class CloudStorageFileAttributeView implements BasicFileAttributeView

Metadata view for a Google Cloud Storage object.

Inheritance

Object > CloudStorageFileAttributeView

Methods

equals(Object other)

public boolean equals(Object other)
Parameter
Name Description
other Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

name()

public String name()

Returns {@value CloudStorageFileSystem#GCS_VIEW}.

Returns
Type Description
String

readAttributes()

public CloudStorageFileAttributes readAttributes()
Returns
Type Description
CloudStorageFileAttributes
Exceptions
Type Description
IOException

setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime)

public void setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime)

This feature is not supported, since Cloud Storage objects are immutable.

Parameters
Name Description
lastModifiedTime FileTime
lastAccessTime FileTime
createTime FileTime

toString()

public String toString()
Returns
Type Description
String
Overrides