com.aspose.ocr

## Class Notifier

- java.lang.Object
- - com.aspose.ocr.Notifier

-     public final class Notifier
      extends Object

  This is factory for create objects of type `INotifier`. It has a set of static methods for creating objects from different input data.

- - ### Method Summary

    Methods
    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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### block

          public static INotifier block(int blockSize)

      Creates the notifier that causes an event when a recognized "bloackSize" characters.

      Parameters:
        `blockSize` - Size of the block.
      Returns:
        The notifier.
      Throws:
        `IllegalArgumentException` - Thrown when blockSize less or equal zero.

    - #### page

          public static INotifier page()

      Creates the notifier that causes an event when a recognized page of a multipage document.

      Returns:
        The notifier.

    - #### symbol

          public static INotifier symbol()

      Creates the notifier that causes an event when a recognized each symbol.

      Returns:
        The notifier.

    - #### word

          public static INotifier word()

      Creates the notifier that causes an event when a recognized word.

      Returns:
        The notifier.

Copyright © 2014. All rights reserved.