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 |
CharSource.StringCharSource
Subclass specialized for string instances.
|
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.
|
ElementTypesAreNonnullByDefault
Marks all "top-level" types as non-null in a way that is recognized by Kotlin.
|
FileBackedOutputStream.MemoryOutput
ByteArrayOutputStream that exposes its internals.
|
Files.FilePredicate |
FileWriteMode
Modes for opening a file for writing.
|
InsecureRecursiveDeleteException
Exception indicating that a recursive delete can't be performed because the file system does not
have the support necessary to guarantee that it is not vulnerable to race conditions that would
allow it to delete files and directories outside of the directory being deleted (i.e.,
SecureDirectoryStream is not supported). |
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. |
ParametricNullness
Marks a "top-level" type-variable usage as the closest we can get to "non-nullable when
non-nullable; nullable when nullable" (like the Android
NullFromTypeParam ). |
RecursiveDeleteOption
Options for use with recursive delete methods (
MoreFiles.deleteRecursively(java.nio.file.Path, com.google.common.io.RecursiveDeleteOption...) and MoreFiles.deleteDirectoryContents(java.nio.file.Path, com.google.common.io.RecursiveDeleteOption...) ). |
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.
|