Java File I/O (NIO.2)
We covered I/O fundamentals in the last chapter, where you learned how to read and write from console and how to use streams to read and write to files. In this chapter, you will learn how to work with file systems—for example, how to save a file/directory; create a file/directory; navigate directories; copy, move, or delete a file/directory; and so on. As a Java programmer, you should be aware how to programmatically achieve these file/directory operations.
Java offers a rich set of APIs to manipulate files ...