toPath method, which lets older code interact nicely with the newer java.nio API. ... In order to correctly read and write text files, you need to understand that ...
www.javapractices.com