Returns a new file attribute view to access the file attributes of this directory.
The resulting file attribute view can be used to read or update the
attributes of this (open) directory. The type
parameter specifies
the type of the attribute view and the method returns an instance of that
type if supported. Invoking this method to obtain a BasicFileAttributeView
always returns an instance of that class that is
bound to this open directory.
The state of resulting file attribute view is intimately connected
to this directory stream. Once the directory stream is closed
,
then all methods to read or update attributes will throw ClosedDirectoryStreamException
.
<V>
| The FileAttributeView type | |
type
| the Class object corresponding to the file attribute view |
null
if the attribute view
type is not available
Diagram: Visitor