public class Notifier
extends java.lang.Object
This is factory for create objects of type "INotifier". It has a set of static methods for creating objects from different input data.
Constructor and Description |
---|
Notifier() |
Modifier and Type | Method and Description |
---|---|
static INotifier |
block(int blockSize)
Creates the notifier that causes an event when a recognized "bloackSize" characters.
|
static INotifier |
page()
Creates the notifier that causes an event when a recognized page of a multipage document.
|
static INotifier |
symbol()
Creates the notifier that causes an event when a recognized each symbol.
|
static INotifier |
word()
Creates the notifier that causes an event when a recognized word.
|
public static INotifier block(int blockSize)
Creates the notifier that causes an event when a recognized "bloackSize" characters.
ArgumentException
- Thrown when blockSize less or equal zero.public static INotifier page()
Creates the notifier that causes an event when a recognized page of a multipage document.
public static INotifier symbol()
Creates the notifier that causes an event when a recognized each symbol.
public static INotifier word()
Creates the notifier that causes an event when a recognized word.