Package com.google.common.io
Interface LineProcessor<T extends @Nullable Object>
- 
 @Beta @GwtIncompatible public interface LineProcessor<T extends @Nullable Object> A callback to be used with the streamingreadLinesmethods.processLine(java.lang.String)will be called for each line that is read, and should returnfalsewhen you want to stop processing.- Since:
- 1.0
- Author:
- Miles Barr
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetResult()Return the result of processing all the lines.booleanprocessLine(String line)This method will be called once for each line.
 
- 
- 
- 
Method Detail- 
processLine@CanIgnoreReturnValue boolean processLine(String line) throws IOException This method will be called once for each line.- Parameters:
- line- the line read from the input, without delimiter
- Returns:
- true to continue processing, false to stop
- Throws:
- IOException
 
 
- 
 
-