Returns the path, if any, underlying this file object (optional operation).
File objects derived from a FileSystem,
including the default file system, typically have a corresponding underlying
Path object. In such cases, this method may be
used to access that object.
file | a file object |
IllegalArgumentException | if the file object does not have an underlying path | |
UnsupportedOperationException | if the operation is not supported by this file manager |
@implSpec
The default implementation throws UnsupportedOperationException
for all files.
Diagram: JavaFileManager