Interface LogParserListener
-
public interface LogParserListener
- Author:
- sanshriv
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Release any resources that were acquired during the initialization.void
foundLogRecord(long position, ParsedLogRecord object)
Invoked when the parser parses a log record from an input stream.void
outputSummary(BufferedWriter writer, Object... objects)
Invoked to output the summary after all the records have been parsed.
-
-
-
Method Detail
-
foundLogRecord
void foundLogRecord(long position, ParsedLogRecord object)
Invoked when the parser parses a log record from an input stream.- Parameters:
object
-
-
outputSummary
void outputSummary(BufferedWriter writer, Object... objects) throws IOException
Invoked to output the summary after all the records have been parsed.- Parameters:
writer
-objects
-- Throws:
IOException
-
close
void close() throws IOException
Release any resources that were acquired during the initialization.- Throws:
IOException
-
-