Class OcrProviderManager
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.business.OcrProviderManager
-
public final class OcrProviderManager extends Object
Manages all map providers.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IOcrProvidergetOcrProvider(String strKey)Gets the ocrProvider for the provided key.static List<IOcrProvider>getOcrProvidersList()Builds all available providers list
-
-
-
Method Detail
-
getOcrProvider
public static IOcrProvider getOcrProvider(String strKey)
Gets the ocrProvider for the provided key.- Parameters:
strKey- the key- Returns:
nullifstrKeyis blank, the ocr provider if found,nullotherwise.- See Also:
StringUtils#isBlank(String)
-
getOcrProvidersList
public static List<IOcrProvider> getOcrProvidersList()
Builds all available providers list- Returns:
- all available providers
-
-