abc4j API Specification

scanner
Interface ScannerListenerInterface

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ScannerAdapter

public interface ScannerListenerInterface
extends java.util.EventListener

This interface should be implemented by any object that wants to listen to scanner events thrown during characters stream scanning.


Method Summary
 void invalidCharacter(InvalidCharacterEvent evt)
          Invoked when an invalid character has been found.
 void lineProcessed(java.lang.String line)
          Invoked when a line has been processed.
 void tokenGenerated(TokenEvent event)
          Invoked when a new token has been generated.
 

Method Detail

tokenGenerated

void tokenGenerated(TokenEvent event)
Invoked when a new token has been generated.

Parameters:
event - Event containing all information about the token generated.

invalidCharacter

void invalidCharacter(InvalidCharacterEvent evt)
Invoked when an invalid character has been found.

Parameters:
evt - Event containing all information about the invalid character found.

lineProcessed

void lineProcessed(java.lang.String line)
Invoked when a line has been processed.

Parameters:
line - The line that has just been processed.

abc4j API Specification

Submit a bug or feature