Methods in com.google.common.io with parameters of type LineProcessor |
static
|
Files.readLines(java.io.File file,
java.nio.charset.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
<R extends java.lang.Readable & java.io.Closeable,T>
T |
|
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(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. |