Class ApiKeyProvider
- java.lang.Object
-
- org.openstreetmap.josm.io.imagery.ApiKeyProvider
-
public final class ApiKeyProvider extends Object
Provider of confidential imagery API keys.- Since:
- 15855
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ApiKeyProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static List<String>
getApiKeySites()
static String
retrieveApiKey(String imageryId)
Retrieves the API key for the given imagery id.
-
-
-
Constructor Detail
-
ApiKeyProvider
private ApiKeyProvider()
-
-
Method Detail
-
getApiKeySites
private static List<String> getApiKeySites()
-
retrieveApiKey
public static String retrieveApiKey(String imageryId) throws IOException
Retrieves the API key for the given imagery id.- Parameters:
imageryId
- imagery id- Returns:
- the API key for the given imagery id
- Throws:
IOException
- in case of I/O error
-
-