Unix file attributes
Alan.Bateman at oracle.com
Tue Jul 19 20:39:42 PDT 2011
Salter, Thomas A wrote:
> How are users expected to take advantage of the "unix" file
> attributes? They can retrieved dynamically through
> Files.readAttributes. FileSystem. supportedFileAttributeViews tells
> you they exist. Yet how are you supposed to know what they mean?
> (The meanings are obvious from the names, but that's not the point.)
> Is this something that would be documented by Oracle apart from the
> JDK? Are they simply internal to the implementation and not expected
> to be used?
There are several implementation/provider specific additions and this is
one of them. For now, this view is not documented or supported but at
some point one could envisage us adding an implementation specific view
that would documents these attributes in a table (as per the views that
are defined in java.nio.file.attribute).
> By the way, the javadocs for Files.readAttributes refers to the " ...
> POSX file permissions ... ". POSIX is misspelled.
Thanks, we can fix this when next editing the javadoc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-discuss