I am just wondering if there is a list of attributes name to be referred when using the following:
However, you can set a DOS attribute using the setAttribute(Path, String, Object, LinkOption...) method, as follows:
Path file = ...; Files.setAttribute(file, "dos:hidden", true);
In this case the .isHidden()
method is referred as hidden
, what about isReadOnly()
? I have tried dos:readOnly
and other combination, however without achieving the result wanted.
Dou you know any link which has a list of those attribute "reference"?
Thanks in advance.