Comparing Path Objects The methods in the Path interface for…
Handling Exceptions Errors are bound to occur when interacting with…
Determining the Existence of a Directory Entry The following static…
Uniqueness of a Directory Entry The method isSameFile() in the…
Copy Options The enum types LinkOption (Table 21.6) and StandardCopyOption…
Copy and Replace Directory Entries Consider copying the source file:…
Copy Files Using I/O Streams The Files class provides methods…
Moving Directory Entries The code below illustrates moving a file…
21.5 Reading and Writing Files Using Paths The Files class…