| 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. | 
| com.google.common.reflect | This package contains utilities to work with Java reflection. | 
| Modifier and Type | Method and Description | 
|---|---|
| CharSource | ByteSource. asCharSource(Charset charset)Returns a  CharSourceview 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 new  CharSourcefor reading character data from the given file using the given
 character set. | 
| static CharSource | Resources. asCharSource(URL url,
            Charset charset)Returns a  CharSourcethat reads from the given URL using the given character set. | 
| static CharSource | CharSource. concat(CharSource... sources)Concatenates multiple  CharSourceinstances into a single source. | 
| static CharSource | CharSource. concat(Iterable<? extends CharSource> sources)Concatenates multiple  CharSourceinstances into a single source. | 
| static CharSource | CharSource. concat(Iterator<? extends CharSource> sources)Concatenates multiple  CharSourceinstances into a single source. | 
| static CharSource | CharSource. empty()Returns an immutable  CharSourcethat 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  CharSourceinstances into a single source. | 
| ByteSource | BaseEncoding. decodingSource(CharSource encodedSource)Returns a  ByteSourcethat reads base-encoded bytes from the specifiedCharSource. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CharSource | CharSource. concat(Iterable<? extends CharSource> sources)Concatenates multiple  CharSourceinstances into a single source. | 
| static CharSource | CharSource. concat(Iterator<? extends CharSource> sources)Concatenates multiple  CharSourceinstances into a single source. | 
| Modifier and Type | Method and Description | 
|---|---|
| CharSource | ClassPath.ResourceInfo. asCharSource(Charset charset)Returns a  CharSourceview of the resource from which its bytes can be read as
 characters decoded with the givencharset. | 
Copyright © 2010–2017. All rights reserved.