com::declarativa::interprolog::util::Recognizer Class Reference

Inheritance diagram for com::declarativa::interprolog::util::Recognizer:

com::declarativa::interprolog::util::OutputListener

Public Member Functions

 Recognizer ()
 Recognizer (String pattern)
 Recognizer (String pattern, boolean collectRestOfBuffer)
int numberListeners ()
void analyseBytes (byte[] buffer, int nbytes)
void streamEnded ()
synchronized void addRecognizerListener (RecognizerListener l)
synchronized void removeRecognizerListener (RecognizerListener l)

Package Functions

void fireRecognized (String extra)

Package Attributes

Vector listeners
int nextInPattern
byte[] bytePattern
boolean collectRestOfBuffer

Detailed Description

A simple pattern recognizor used in error detection

Definition at line 13 of file Recognizer.java.


Member Function Documentation

void com::declarativa::interprolog::util::Recognizer::analyseBytes byte[]  buffer,
int  nbytes
[inline]
 

nBytes new output bytes are in buffer to analyse

Implements com::declarativa::interprolog::util::OutputListener.

Definition at line 36 of file Recognizer.java.

References bytePattern, fireRecognized(), and nextInPattern.


The documentation for this class was generated from the following file:
Generated on Wed Jul 26 13:30:54 2006 for XSB by  doxygen 1.4.5