Interface LineProcessor<T>

    • 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.
    • Method Detail

      • processLine

        boolean  line)
                     throws 
        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:
      • getResult

        T getResult()
        Return the result of processing all the lines.