Enhancements in Java I/O


Enhancements in Java SE 7

java.io

The java.io.File class is now superceded by java.nio.file.Path, java.nio.file.Files and the rest of the java.nio.file package.

The following new methods were added to File:

java.nio

java.nio.channels

Five new interfaces and six new classes to support multicasting and asynchronous I/O: New constructors and methods added to existing channel classes and interfaces to support multicasting and asynchronous I/O:

New nio.channels API to support File I/O:

java.nio.channels.spi

java.nio.file

java.nio.file.attribute

java.nio.file.spi

Enhancements in Java SE 6

java.io

One new class is provided:

The following new methods were added to File:

Constructors were added to the following class:

The behavior of the following method was modified:

java.nio

Enhancements in J2SE 5.0

java.nio

Enhancements in Java 2 SDK v1.4

java.io

java.nio

Previous Enhancements


Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.