Apache Commons logo Commons IO

Commons IO

Commons IO is a library of utilities to assist with developing IO functionality.

There are six main areas included:

  • io - This package defines utility classes for working with streams, readers, writers and files.
  • comparator - This package provides various Comparator implementations for Files.
  • file - This package provides extensions in the realm of java.nio.file.
  • filefilter - This package defines an interface (IOFileFilter) that combines both FileFilter and FilenameFilter.
  • function - This package defines IO-only related functional interfaces for lambda expressions and method references.
  • input - This package provides implementations of input classes, such as InputStream and Reader.
  • input.buffer - This package provides implementations of buffered input classes, such as CircularBufferInputStream and PeekableInputStream.
  • monitor - This package provides a component for monitoring file system events (directory and file create, update and delete events).
  • output - This package provides implementations of output classes, such as OutputStream and Writer.
  • serialization - This package provides a framework for controlling the deserialization of classes.

Releases

Commons IO 2.8.0 (requires Java 8)

Commons IO 2.8.0 requires a minimum of Java 8 - Download now!

View the Release Notes and Javadoc API documents

Commons IO 2.7 (requires Java 8)

Commons IO 2.7 requires a minimum of Java 8 - Download now!

View the Release Notes and Javadoc API documents

Commons IO 2.6 (requires Java 7)

Commons IO 2.6 requires a minimum of Java 7 - Download now!

View the Release Notes and Javadoc API documents

Commons IO 2.5 (requires Java 6)

Commons IO 2.5 requires a minimum of Java 6 - Download now!

View the Release Notes and Javadoc API documents

Commons IO 2.4 (requires Java 6)

Commons IO 2.4 requires a minimum of JDK 1.6 - Download now!

View the Release Notes and Javadoc API documents

Commons IO 2.3 (requires Java 6)

Commons IO 2.3 requires a minimum of JDK 1.6 - Download now!

View the Release Notes and Javadoc API documents

Commons IO 2.2 (requires Java 5)

Commons IO 2.2 requires a minimum of JDK 1.5 - Download now!

View the Release Notes and Javadoc API documents

Older Releases

For previous releases, see the Apache Archive.

Support

The commons mailing lists act as the main support forum. The user list is suitable for most library usage queries. The dev list is intended for the development discussion. Please remember that the lists are shared between all commons components, so prefix your email by [io].

Issues may be reported via ASF JIRA. Please read the instructions carefully to submit a useful bug report or enhancement request.