File class. Paths created by other providers are unlikely to be interoperable with the abstract path names represented by java.io.File . The toPath method may be ...
docs.oracle.com