Uses of Class
com.google.common.io.CharSource
-
Packages that use CharSource Package Description com.google.common.io Utility methods and classes for I/O; for example input streams, output streams, readers, writers, and files.com.google.common.reflect Utilities for reflection. -
-
Uses of CharSource in com.google.common.io
Methods in com.google.common.io that return CharSource Modifier and Type Method Description CharSource
ByteSource. asCharSource(Charset charset)
Returns aCharSource
view of this byte source that decodes bytes read from this source as characters using the givenCharset
.static CharSource
Files. asCharSource(File file, Charset charset)
Returns a newCharSource
for reading character data from the given file using the given character set.static CharSource
MoreFiles. asCharSource(Path path, Charset charset, OpenOption... options)
static CharSource
Resources. asCharSource(URL url, Charset charset)
Returns aCharSource
that reads from the given URL using the given character set.static CharSource
CharSource. concat(CharSource... sources)
Concatenates multipleCharSource
instances into a single source.static CharSource
CharSource. concat(Iterable<? extends CharSource> sources)
Concatenates multipleCharSource
instances into a single source.static CharSource
CharSource. concat(Iterator<? extends CharSource> sources)
Concatenates multipleCharSource
instances into a single source.static CharSource
CharSource. empty()
Returns an immutableCharSource
that contains no characters.static CharSource
CharSource. wrap(CharSequence charSequence)
Returns a view of the given character sequence as aCharSource
.Methods in com.google.common.io with parameters of type CharSource Modifier and Type Method Description static CharSource
CharSource. concat(CharSource... sources)
Concatenates multipleCharSource
instances into a single source.ByteSource
BaseEncoding. decodingSource(CharSource encodedSource)
Returns aByteSource
that reads base-encoded bytes from the specifiedCharSource
.Method parameters in com.google.common.io with type arguments of type CharSource Modifier and Type Method Description static CharSource
CharSource. concat(Iterable<? extends CharSource> sources)
Concatenates multipleCharSource
instances into a single source.static CharSource
CharSource. concat(Iterator<? extends CharSource> sources)
Concatenates multipleCharSource
instances into a single source. -
Uses of CharSource in com.google.common.reflect
Methods in com.google.common.reflect that return CharSource Modifier and Type Method Description CharSource
ClassPath.ResourceInfo. asCharSource(Charset charset)
Returns aCharSource
view of the resource from which its bytes can be read as characters decoded with the givencharset
.
-