- read
Reads the contents of this source as a string.
- wrap
Returns a view of the given character sequence as a CharSource. The behavior of
the returned CharSou
- openStream
Opens a new Reader for reading from this source. This method should return a
new, independent reader
- readLines
Reads lines of text from this source, processing each line as it is read using
the given LineProcess
- openBufferedStream
Opens a new BufferedReader for reading from this source. This method should
return a new, independen
- readFirstLine
Reads the first link of this source as a string. Returns null if this source is
empty.Like BufferedR
- copyTo
Appends the contents of this source to the given Appendable (such as a Writer).
Does not close appen
- concat
Concatenates multiple CharSource instances into a single source. Streams
returned from the source wi
- empty
Returns an immutable CharSource that contains no characters.
- asByteSource
Returns a ByteSource view of this char source that encodes chars read from this
source as bytes usin
- isEmpty
Returns whether the source has zero chars. The default implementation is to open
a stream and check
- length
Returns the length of this source in chars, even if doing so requires opening
and traversing an enti