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.
|
com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
com.google.common.testing |
This package contains testing utilities.
|
Class and Description |
---|
BaseEncoding
A binary encoding scheme for reversibly translating between byte sequences and printable ASCII
strings.
|
BaseEncoding.Alphabet |
BaseEncoding.DecodingException
Exception indicating invalid base-encoded input encountered while decoding.
|
BaseEncoding.StandardBaseEncoding |
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.
|
ByteSource.ByteArrayByteSource |
ByteSource.EmptyByteSource |
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.
|
CharSource.CharSequenceCharSource |
CharSource.EmptyCharSource |
CharStreams.NullWriter |
Closer |
Closer.LoggingSuppressor
Suppresses exceptions by logging them.
|
Closer.SuppressingSuppressor
Suppresses exceptions by adding them to the exception that will be thrown using JDK7's
addSuppressed(Throwable) mechanism.
|
Closer.Suppressor
Suppression strategy interface.
|
FileBackedOutputStream.MemoryOutput
ByteArrayOutputStream that exposes its internals.
|
Files.FilePredicate |
FileWriteMode
Modes for opening a file for writing.
|
LineBuffer
Package-protected abstract class that implements the line reading algorithm used by
LineReader . |
LineProcessor
A callback to be used with the streaming
readLines methods. |
Class and Description |
---|
ByteSource
A readable source of bytes, such as a file.
|
CharSource
A readable source of characters, such as a text file.
|
Class and Description |
---|
ByteSink
A destination to which bytes can be written, such as a file.
|