Update pre-JDK7 APIs to support java.nio.file.Path?
Should some of the JDK 7 APIs with constructors and methods that accept a java.util.File or a String (representing a path) also be updated to accept a java.nio.file.Path?
This is a minor annoyance, but adding additional overloaded methods accepting a
Path would cut down on having to type "some_path.toString()" wherever a String representation of a path is expected.
Path path = ... // some path to a file on the file system
I'm not sure what kind of impact (good or bad) this suggestion would have, but I thought I'd bring this up as I noticed the somewhat annoying "toString()" showing up in my code.