Uses of Class
com.google.common.io.CharSource
Packages that use CharSource
Package
Description
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
Utilities for reflection.
-
Uses of CharSource in com.google.common.io
Subclasses of CharSource in com.google.common.ioModifier and TypeClassDescription(package private) classA char source that reads bytes from this source and decodes them as characters using a charset.private static classprivate static final classprivate static final classprivate static classSubclass specialized for string instances.Fields in com.google.common.io with type parameters of type CharSourceModifier and TypeFieldDescriptionprivate final Iterator<? extends CharSource> MultiReader.itprivate final Iterable<? extends CharSource> CharSource.ConcatenatedCharSource.sourcesMethods in com.google.common.io that return CharSourceModifier and TypeMethodDescriptionByteSource.asCharSource(Charset charset) Returns aCharSourceview of this byte source that decodes bytes read from this source as characters using the givenCharset.ByteSource.EmptyByteSource.asCharSource(Charset charset) CharSource.AsByteSource.asCharSource(Charset charset) static CharSourceFiles.asCharSource(File file, Charset charset) Returns a newCharSourcefor reading character data from the given file using the given character set.static CharSourceMoreFiles.asCharSource(Path path, Charset charset, OpenOption... options) MoreFiles.PathByteSource.asCharSource(Charset charset) static CharSourceResources.asCharSource(URL url, Charset charset) Returns aCharSourcethat reads from the given URL using the given character set.static CharSourceCharSource.concat(CharSource... sources) Concatenates multipleCharSourceinstances into a single source.static CharSourceCharSource.concat(Iterable<? extends CharSource> sources) Concatenates multipleCharSourceinstances into a single source.static CharSourceCharSource.concat(Iterator<? extends CharSource> sources) Concatenates multipleCharSourceinstances into a single source.static CharSourceCharSource.empty()Returns an immutableCharSourcethat contains no characters.static CharSourceCharSource.wrap(CharSequence charSequence) Returns a view of the given character sequence as aCharSource.Methods in com.google.common.io with parameters of type CharSourceModifier and TypeMethodDescriptionstatic CharSourceCharSource.concat(CharSource... sources) Concatenates multipleCharSourceinstances into a single source.final ByteSourceBaseEncoding.decodingSource(CharSource encodedSource) Returns aByteSourcethat reads base-encoded bytes from the specifiedCharSource.Method parameters in com.google.common.io with type arguments of type CharSourceModifier and TypeMethodDescriptionstatic CharSourceCharSource.concat(Iterable<? extends CharSource> sources) Concatenates multipleCharSourceinstances into a single source.static CharSourceCharSource.concat(Iterator<? extends CharSource> sources) Concatenates multipleCharSourceinstances into a single source.Constructor parameters in com.google.common.io with type arguments of type CharSourceModifierConstructorDescription(package private)ConcatenatedCharSource(Iterable<? extends CharSource> sources) (package private)MultiReader(Iterator<? extends CharSource> readers) -
Uses of CharSource in com.google.common.reflect
Methods in com.google.common.reflect that return CharSourceModifier and TypeMethodDescriptionfinal CharSourceClassPath.ResourceInfo.asCharSource(Charset charset) Returns aCharSourceview of the resource from which its bytes can be read as characters decoded with the givencharset.