Class CloudStorageFileAttributeView (0.126.19)

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
NameDescription
otherObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

name()

public String name()

Returns {@value CloudStorageFileSystem#GCS_VIEW}.

Returns
TypeDescription
String

readAttributes()

public CloudStorageFileAttributes readAttributes()
Returns
TypeDescription
CloudStorageFileAttributes
Exceptions
TypeDescription
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
NameDescription
lastModifiedTimeFileTime
lastAccessTimeFileTime
createTimeFileTime

toString()

public String toString()
Returns
TypeDescription
String
Overrides