Interface LogParserListener
-
public interface LogParserListener- Author:
- sanshriv
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Release any resources that were acquired during the initialization.voidfoundLogRecord(long position, ParsedLogRecord object)Invoked when the parser parses a log record from an input stream.voidoutputSummary(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 IOExceptionRelease any resources that were acquired during the initialization.- Throws:
IOException
-
-