Class OcrProviderManager

java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.OcrProviderManager

public final class OcrProviderManager extends Object
Manages all map providers.
  • Method Details

    • getOcrProvider

      public static IOcrProvider getOcrProvider(String strKey)
      Gets the ocrProvider for the provided key.
      Parameters:
      strKey - the key
      Returns:
      null if strKey is blank, the ocr provider if found, null otherwise.
      See Also:
      • StringUtils.isBlank(String)
    • getOcrProvidersList

      public static List<IOcrProvider> getOcrProvidersList()
      Builds all available providers list
      Returns:
      all available providers