<T extends @Nullable java.lang.Object> T |
CharSource.readLines(LineProcessor<T> processor) |
Reads lines of text from this source, processing each line as it is read using the given processor .
|
static <T extends @Nullable java.lang.Object> T |
CharStreams.readLines(java.lang.Readable readable,
LineProcessor<T> processor) |
Streams lines from a Readable object, stopping when the processor returns false
or all lines have been read and returning the result produced by the processor.
|
static <T extends @Nullable java.lang.Object> T |
Files.readLines(java.io.File file,
java.nio.charset.Charset charset,
LineProcessor<T> callback) |
Deprecated.
|
static <T extends @Nullable java.lang.Object> T |
Resources.readLines(java.net.URL url,
java.nio.charset.Charset charset,
LineProcessor<T> callback) |
Streams lines from a URL, stopping when our callback returns false, or we have read all of the
lines.
|