JavaOne 2012 - The Power of Java 7 NIO.2
- by Sharon Zakhour
At JavaOne 2012, Mohamed Taman of e-finance gave a presentation highlighting the power of NIO.2, the file I/O APIs introduced in JDK 7. He shared information on how to get the most out of NIO.2, gave tips on migrating your I/O code to NIO.2, and presented case studies.
The File I/O (featuring NIO.2) lesson in the Java Tutorials has extensive coverage of NIO.2 and includes the following topics:
Managing Metadata
Walking the File Tree
Finding Files, including information on using PatternMatcher and globs.
Watching a Directory for Changes
Legacy File I/O Code includes information on migrating your code.
From the conference session page, you can watch the presentation or download the materials.