Interface StdProcessor

  • All Known Implementing Classes:
    StdWriter

    public interface StdProcessor
    Processor of lines read by StdReader.
    Author:
    Uwe Finke
    • Method Detail

      • processLine

        void processLine​(String line)
                  throws Exception
        Process a line.
        Parameters:
        line - string submitted by the reader
        Throws:
        Exception - any exception during processing of the line
      • close

        void close()
            throws Exception
        Cleanup when all lines have been processed.
        Throws:
        Exception - when the processor could not be closed