@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.
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.
-
Interface Summary Interface Description ByteArrayDataInput Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023ByteArrayDataOutput Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023ByteProcessor<T> Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023InputSupplier<T> Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023LineProcessor<T> Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023OutputSupplier<T> Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023 -
Class Summary Class Description BaseEncoding Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023ByteSink Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023ByteSource Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023ByteStreams Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023CharSink Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023CharSource Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023CharStreams Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023Closeables Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023Closer Deprecated. CountingInputStream Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023CountingOutputStream Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023FileBackedOutputStream Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023Files Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023Flushables Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023LineReader Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023LittleEndianDataInputStream Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023LittleEndianDataOutputStream Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023PatternFilenameFilter Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023Resources Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023 -
Enum Summary Enum Description FileWriteMode Modes for opening a file for writing. -
Exception Summary Exception Description BaseEncoding.DecodingException Deprecated. The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023