Uses of Interface
com.google.common.io.LineProcessor
-
Packages that use LineProcessor Package Description com.google.common.io Utility methods and classes for I/O; for example input streams, output streams, readers, writers, and files. -
-
Uses of LineProcessor in com.google.common.io
Methods in com.google.common.io with parameters of type LineProcessor Modifier and Type Method Description <T extends @Nullable Object>
TCharSource. readLines(LineProcessor<T> processor)
Reads lines of text from this source, processing each line as it is read using the givenprocessor
.static <T extends @Nullable Object>
TCharStreams. readLines(Readable readable, LineProcessor<T> processor)
Streams lines from aReadable
object, stopping when the processor returnsfalse
or all lines have been read and returning the result produced by the processor.static <T extends @Nullable Object>
TFiles. readLines(File file, Charset charset, LineProcessor<T> callback)
Deprecated.PreferasCharSource(file, charset).readLines(callback)
.static <T extends @Nullable Object>
TResources. 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.
-