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