Example usage for Java com.google.common.io CharSource fields, constructors, methods, implement or subclass
The text is from its open source code.
CharSource() Constructor for use by subclasses. |
CharSource | concat(Iterable extends CharSource> sources) Concatenates multiple CharSource instances into a single source. |
CharSource | concat(Iterator extends CharSource> sources) Concatenates multiple CharSource instances into a single source. |
CharSource | concat(CharSource... sources) Concatenates multiple CharSource instances into a single source. |
long | copyTo(Appendable appendable) Appends the contents of this source to the given Appendable (such as a Writer ). |
long | copyTo(CharSink sink) Copies the contents of this source to the given sink. |
BufferedReader | openBufferedStream() Opens a new BufferedReader for reading from this source. |
Reader | openStream() Opens a new Reader for reading from this source. |
String | read() Reads the contents of this source as a string. |
String | readFirstLine() Reads the first link of this source as a string. |
T | readLines(LineProcessor Reads lines of text from this source, processing each line as it is read using the given LineProcessor processor . |
ImmutableList | readLines() Reads all the lines of this source as a list of strings. |
String | toString() Returns a string representation of the object. |
CharSource | wrap(CharSequence charSequence) Returns a view of the given character sequence as a CharSource . |