Methods in com.google.common.io with parameters of type LineProcessor |
static
|
Files.readLines(File file,
Charset charset,
LineProcessor<T> callback)
Streams lines from a File , stopping when our callback returns
false, or we have read all of the lines. |
static
|
CharStreams.readLines(InputSupplier<R> supplier,
LineProcessor<T> callback)
Streams lines from a Readable and Closeable object
supplied by a factory, stopping when our callback returns false, or we
have read all of the lines. |
static
|
Resources.readLines(URL url,
Charset charset,
LineProcessor<T> callback)
Streams lines from a URL, stopping when our callback returns false, or we
have read all of the lines. |