com.aspose.ocr

## Class Language

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

-     public final class Language
      extends Object

  This is factory for creating objects of type `ILanguage`. It has a static method for creating objects.

  >      ILanguage english = Language.load("english");
  >      ILanguage spanish = Language.load("spanish");
  >      ILanguage french = Language.load("french");

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ILanguage` | `load(String languageName)` Creates instance of `ILanguage` from name of language.

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

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

- - ### Method Detail

    - #### load

          public static ILanguage load(String languageName)

      Creates instance of `ILanguage` from name of language. This will raise exception if files for that language not exists in specified directory.

      Parameters:
        `languageName` - The name of language.
      Returns:
        The instance of `ILanguage`.
      Throws:
        `IllegalArgumentException` - Thrown when have not "languageName" language.

Copyright © 2014. All rights reserved.