Class OcrProviderManager
java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.OcrProviderManager
Manages all map providers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IOcrProvidergetOcrProvider(String strKey) Gets the ocrProvider for the provided key.static List<IOcrProvider>Builds all available providers list
-
Method Details
-
getOcrProvider
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
Builds all available providers list- Returns:
- all available providers
-