File Handling in Java – NIO2

In Java, file handling has been made very easier and very advanced with NIO2. NIO2 stands for Non blocking Input Output version 2. How to read the contents of a file using Streams and NIO2 ? The java.nio.file.Files is an helper class with many static methods that work on files or directories. Path is used … Continue reading File Handling in Java – NIO2