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 CharSourceByteSource. asCharSource(java.nio.charset.Charset charset)Returns aCharSourceview of this byte source that decodes bytes read from this source as characters using the givenCharset.static CharSourceFiles. asCharSource(java.io.File file, java.nio.charset.Charset charset)Returns a newCharSourcefor reading character data from the given file using the given character set.static CharSourceMoreFiles. asCharSource(java.nio.file.Path path, java.nio.charset.Charset charset, java.nio.file.OpenOption... options)static CharSourceResources. asCharSource(java.net.URL url, java.nio.charset.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(java.lang.Iterable<? extends CharSource> sources)Concatenates multipleCharSourceinstances into a single source.static CharSourceCharSource. concat(java.util.Iterator<? extends CharSource> sources)Concatenates multipleCharSourceinstances into a single source.static CharSourceCharSource. empty()Returns an immutableCharSourcethat contains no characters.static CharSourceCharSource. wrap(java.lang.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 CharSourceCharSource. concat(CharSource... sources)Concatenates multipleCharSourceinstances into a single source.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 CharSource Modifier and Type Method Description static CharSourceCharSource. concat(java.lang.Iterable<? extends CharSource> sources)Concatenates multipleCharSourceinstances into a single source.static CharSourceCharSource. concat(java.util.Iterator<? extends CharSource> sources)Concatenates multipleCharSourceinstances 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 CharSourceClassPath.ResourceInfo. asCharSource(java.nio.charset.Charset charset)Returns aCharSourceview of the resource from which its bytes can be read as characters decoded with the givencharset.
-