OpenJDK 27
java.base
sun.nio.fs
DynamicFileAttributeView
APIdia Launch Partner
Top
Description
Methods
sun.nio.fs
pack-priv
Interface DynamicFileAttributeView
Known Direct Implementers
sun.
nio.
fs.
FileOwnerAttributeViewImpl
,
sun.
nio.
fs.
AbstractAclFileAttributeView
,
sun.
nio.
fs.
AbstractBasicFileAttributeView
,
sun.
nio.
fs.
AbstractUserDefinedFileAttributeView
Imports
java.
util.
Map
,
java.
io.
IOException
Implemented by FileAttributeView implementations to support access to attributes by names.
Method Summary
Modifier and Type
Method and Description
public
Map
<
String
,
Object
>
readAttributes
(
String
[] attributes
)
Reads a set of file attributes as a bulk operation.
public
void
setAttribute
(
String
attribute,
Object
value
)
Sets/updates the value of an attribute.
Method Detail
readAttributes
back to summary
public
Map
<
String
,
Object
>
readAttributes
(
String
[] attributes
)
throws
IOException
Reads a set of file attributes as a bulk operation.
setAttribute
back to summary
public
void
setAttribute
(
String
attribute,
Object
value
)
throws
IOException
Sets/updates the value of an attribute.