| Package | Description |
|---|---|
| tech.mlsql.common.utils.io | |
| tech.mlsql.common.utils.reflect |
| Modifier and Type | Method and Description |
|---|---|
CharSource |
ByteSource.asCharSource(Charset 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 file,
Charset charset)
Returns a new
CharSource for reading character data from the given
file using the given character set. |
static CharSource |
CharStreams.asCharSource(InputSupplier<? extends Readable> supplier)
Deprecated.
Convert all
InputSupplier<? extends Readable>
implementations to extend CharSource or provide a method for
viewing the object as a CharSource. This method is scheduled
for removal in Guava 18.0. |
static CharSource |
Resources.asCharSource(URL url,
Charset charset)
Returns a
CharSource that reads from the given URL using the given character set. |
static CharSource |
CharSource.concat(CharSource... sources)
Concatenates multiple
CharSource instances into a single source. |
static CharSource |
CharSource.concat(Iterable<? extends CharSource> sources)
Concatenates multiple
CharSource instances into a single source. |
static CharSource |
CharSource.concat(Iterator<? extends CharSource> sources)
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 charSequence)
Returns a view of the given character sequence as a
CharSource. |
| Modifier and Type | Method and Description |
|---|---|
static CharSource |
CharSource.concat(CharSource... sources)
Concatenates multiple
CharSource instances into a single source. |
ByteSource |
BaseEncoding.decodingSource(CharSource encodedSource)
Returns a
ByteSource that reads base-encoded bytes from the specified
CharSource. |
| Modifier and Type | Method and Description |
|---|---|
static CharSource |
CharSource.concat(Iterable<? extends CharSource> sources)
Concatenates multiple
CharSource instances into a single source. |
static CharSource |
CharSource.concat(Iterator<? extends CharSource> sources)
Concatenates multiple
CharSource instances into a single source. |
| Modifier and Type | Method and Description |
|---|---|
CharSource |
ClassPath.ResourceInfo.asCharSource(Charset charset)
Returns a
CharSource view of the resource from which its bytes can be read as
characters decoded with the given charset. |
Copyright © 2020. All rights reserved.