Skip to main content

JDK 7-watch: NIO2

One of the features on the plate for JDK7,
and incidentally, one of the features that has already made it into the weekly
builds is the new NIO2

NIO2 speclead Alan
Bateman blogged late last week in some detail about features like
the new filesystem
api, and how the bread and butter of this new API is the Path
class and the DirectoryStream
interface for operations on file directories, like for performing
a file search efficiently. And at last there is a way to get
notifications when something
in the filesystem changes.