Interface LineProcessor<T extends @Nullable java.lang.Object>

    • Method Detail

      • processLine

        @CanIgnoreReturnValue
        boolean processLine​(java.lang.String line)
                     throws java.io.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:
        java.io.IOException
      • getResult

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