src/share/classes/sun/nio/fs/DynamicFileAttributeView.java
Print this page
*** 33,51 ****
* attributes by names.
*/
interface DynamicFileAttributeView {
/**
- * Reads the value of an attribute.
- */
- Object getAttribute(String attribute) throws IOException;
-
- /**
* Sets/updates the value of an attribute.
*/
void setAttribute(String attribute, Object value) throws IOException;
/**
* Reads a set of file attributes as a bulk operation.
*/
! Map<String,?> readAttributes(String[] attributes) throws IOException;
}
--- 33,46 ----
* attributes by names.
*/
interface DynamicFileAttributeView {
/**
* Sets/updates the value of an attribute.
*/
void setAttribute(String attribute, Object value) throws IOException;
/**
* Reads a set of file attributes as a bulk operation.
*/
! Map<String,Object> readAttributes(String[] attributes) throws IOException;
}