Added Java NIO.