|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface LineProcessor<T>
A callback to be used with the streaming readLines methods.
processLine(java.lang.String) will be called for each line that is read, and
should return false when you want to stop processing.
| Method Summary | |
|---|---|
T |
getResult()
Return the result of processing all the lines. |
boolean |
processLine(String line)
This method will be called once for each line. |
| Method Detail |
|---|
boolean processLine(String line)
throws IOException
line - the line read from the input, without delimiter
IOExceptionT getResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||