Package com.google.common.io
Interface LineProcessor<T>
-
@Beta @Deprecated(since="2022-12-01") public interface LineProcessor<T>
Deprecated.The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023A 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TgetResult()Deprecated.Return the result of processing all the lines.booleanprocessLine(java.lang.String line)Deprecated.This method will be called once for each line.
-
-
-
Method Detail
-
processLine
boolean processLine(java.lang.String line) throws java.io.IOExceptionDeprecated.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:
java.io.IOException
-
getResult
T getResult()
Deprecated.Return the result of processing all the lines.
-
-