Package | Description |
---|---|
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.
|
Class and Description |
---|
BaseEncoding
A binary encoding scheme for reversibly translating between byte sequences and printable ASCII
strings.
|
ByteArrayDataInput
An extension of
DataInput for reading from in-memory byte arrays; its
methods offer identical functionality but do not throw IOException . |
ByteArrayDataOutput
An extension of
DataOutput for writing to in-memory byte arrays; its
methods offer identical functionality but do not throw IOException . |
ByteProcessor
A callback interface to process bytes from a stream.
|
ByteSink
A destination to which bytes can be written, such as a file.
|
ByteSource
A readable source of bytes, such as a file.
|
CharSink
A destination to which characters can be written, such as a text file.
|
CharSource
A readable source of characters, such as a text file.
|
Closer |
FileWriteMode
Modes for opening a file for writing.
|
InputSupplier
Deprecated.
For
InputSupplier<? extends InputStream> , use
ByteSource instead. For InputSupplier<? extends Reader> ,
use CharSource . Implementations of InputSupplier that
don't fall into one of those categories do not benefit from any of the
methods in common.io and should use a different interface. This
interface is scheduled for removal in June 2015. |
LineProcessor
A callback to be used with the streaming
readLines methods. |
OutputSupplier
Deprecated.
For
OutputSupplier<? extends OutputStream> , use
ByteSink instead. For OutputSupplier<? extends Writer> ,
use CharSink . Implementations of OutputSupplier that
don't fall into one of those categories do not benefit from any of the
methods in common.io and should use a different interface. This
interface is scheduled for removal in June 2015. |
Copyright © 2010-2014. All Rights Reserved.