APIdia Launch Partner
Top Description Methods
java.nio.file.attribute

public Interface FileAttribute<T>

Type Parameters
<T>
The type of the file attribute value

An object that encapsulates the value of a file attribute that can be set atomically when creating a new file or directory by invoking the createFile or createDirectory methods.
Since
1.7
See Also
PosixFilePermissions#asFileAttribute

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The attribute name
name
()

Returns the attribute name.

public T

Returns:

The attribute value
value
()

Returns the attribute value.

Method Detail

nameback to summary
public String name()

Returns the attribute name.

Returns:String

The attribute name

valueback to summary
public T value()

Returns the attribute value.

Returns:T

The attribute value