@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.

At the core of this package are the Source/Sink types: ByteSource, CharSource, ByteSink and CharSink. They are factories for I/O streams that provide many convenience methods that handle both opening and closing streams for you.

This package is a part of the open-source Guava libraries. For more information on Sources and Sinks as well as other features of this package, see I/O Explained on the Guava wiki.