In the FILE I/O documentation trail, it described that the documentation has been updated to be consistent with the JDK 7 classes. This also has suggests on the frequents method to done the update of your legacy code with the latest utility kit. And it even describes some methods to use a technique known as .toPath which will allow you to "take advantage of the java.nio.file.Path functionality" using (presumably) JDK6 classes. I wanted to ask something :
1. Does this indicate that if I perform the downloading and installation of current snapshot of JDK 7, then the programs that I would compile with this will work with anyone with the help of JRE6?
2. If "no" then do you have any idea how someone run and debug code using the new classes?
3. Why does JDK6' edition of the the java.io.File class has the aforementioned toPath functionality (through the toPath method), if the entire Path stuff is new for the JDK 7? Or was entire functionality are available in the JDK but known as something else?
4. I am working with NetBeans....do I require special javadocs files for the new file I/O classes (java.nio.file and java.nio.file.components )?
Bookmarks