Package com.google.common.io
Interface LineProcessor<T>
-
@Beta @GwtIncompatible public interface LineProcessor<T>
A callback to be used with the streamingreadLines
methods.processLine(java.lang.String)
will be called for each line that is read, and should returnfalse
when you want to stop processing.- Since:
- 1.0
- Author:
- Miles Barr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getResult()
Return the result of processing all the lines.boolean
line)
This method will be called once for each line.
-