public interface GazetteerManager
| Modifier and Type | Method and Description |
|---|---|
IGazetteerServiceDriver |
getDriver(String protocol)
It is used to retrieve a driver that supports a concrete
protocol
|
IGazetteerServiceDriver[] |
getDrivers() |
String |
getUsername(String protocol)
Returns username for a given protocol
|
void |
register(String name,
Class driver)
This method is used to register a new gazetter driver
that manage a concrete protocol
|
void |
setUsername(String protocol,
String username)
Saves username for a given protocol
|
void |
setUsernames(Map usernames)
Receives Map with the saved usernames for the different protocols
|
IGazetteerServiceDriver getDriver(String protocol)
protocol - Gazetteer protocolIGazetteerServiceDriver[] getDrivers()
void register(String name, Class driver)
driver - Gazetteer driver to registerString getUsername(String protocol)
protocol - void setUsername(String protocol, String username)
protocol - username - void setUsernames(Map usernames)
usernames -