Skip navigation links

@ParametersAreNonnullByDefault

Package com.google.common.io

This package contains utility methods and classes for working with Java I/O, for example input streams, output streams, readers, writers, and files.

See: Description

Package com.google.common.io Description

This package contains utility methods and classes for working with Java I/O, for example input streams, output streams, readers, writers, and files.

Many of the methods are based on the InputSupplier and OutputSupplier interfaces. They are used as factories for I/O objects that might throw IOException when being created. The advantage of using a factory is that the helper methods in this package can take care of closing the resource properly, even if an exception is thrown. The ByteStreams, CharStreams, and Files classes all have static helper methods to create new factories and to work with them.

This package is a part of the open-source Guava libraries.

Skip navigation links

Copyright © 2010 - 2019 Adobe. All Rights Reserved