cpptools
Interface EventHandler

All Known Implementing Classes:
AbstractLogger, AntLogger, ConsoleLogger

public interface EventHandler

Defines events associated to analyzis.

Author:
Mathieu Champlon

Method Summary
 void changed(java.lang.String filename)
          Specify the file being processed.
 void display(java.lang.String filename, int line, int column)
          Display a diagnostic.
 void error(java.lang.String filename, java.lang.Throwable throwable, java.lang.String reason)
          Notify an error.
 void finished(int parsed, int total)
          Notify an end event.
 void started()
          Notify a start event.
 

Method Detail

started

void started()
Notify a start event.


finished

void finished(int parsed,
              int total)
Notify an end event.

Parameters:
parsed - number of files parsed
total - total number of files

error

void error(java.lang.String filename,
           java.lang.Throwable throwable,
           java.lang.String reason)
Notify an error.

Parameters:
filename - the location of the error
throwable - the error
reason - the description of the error

display

void display(java.lang.String filename,
             int line,
             int column)
Display a diagnostic.

Parameters:
filename - the file name
line - the line number
column - the column offset

changed

void changed(java.lang.String filename)
Specify the file being processed.

Parameters:
filename - the name of the fle


Copyright © 2006-2007 null. All Rights Reserved.