| 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.
|
| Modifier and Type | Method and Description |
|---|---|
CharSource |
ByteSource.asCharSource(Charset
Returns a
CharSource view of this byte source that decodes bytes read from this source as characters using the given
Charset.
|
static CharSource |
Files.asCharSource(File
Returns a new
CharSource for reading character data from the given file using the given character set.
|
static CharSource |
Resources.asCharSource(URL
Returns a
CharSource that reads from the given URL using the given character set.
|
static CharSource |
CharSource.concat(CharSource
Concatenates multiple
CharSource instances into a single source.
|
static CharSource |
CharSource.concat(Iterable
Concatenates multiple
CharSource instances into a single source.
|
static CharSource |
CharSource.concat(Iterator
Concatenates multiple
CharSource instances into a single source.
|
static CharSource |
CharSource.empty()
Returns an immutable
CharSource that contains no characters.
|
static CharSource |
CharSource.wrap(CharSequence
Returns a view of the given character sequence as a
CharSource.
|
| Modifier and Type | Method and Description |
|---|---|
static CharSource |
CharSource.concat(CharSource
Concatenates multiple
CharSource instances into a single source.
|
ByteSource |
BaseEncoding.decodingSource(CharSource
Returns a
ByteSource that reads base-encoded bytes from the specified
CharSource.
|
| Modifier and Type | Method and Description |
|---|---|
static CharSource |
CharSource.concat(Iterable
Concatenates multiple
CharSource instances into a single source.
|
static CharSource |
CharSource.concat(Iterator
Concatenates multiple
CharSource instances into a single source.
|