org.deegree_impl.clients.gazetteer.configuration
Class GazetteerClientConfiguration
java.lang.Object
org.deegree_impl.clients.gazetteer.configuration.GazetteerClientConfiguration
- public class GazetteerClientConfiguration
- extends java.lang.Object
enables access to the configuration parameters of the gazetteer client. Mainly
these are the names and addresses of the gazetteers services to be called
- Since:
- 1.1
- Version:
- $Revision: 1.1 $, 1.0. $Revision: 1.1 $, $Date: 2004/03/24 12:36:22 $
- Author:
- Andreas Poth, last edited by: $Author: poth $
Constructor Summary |
(package private) |
GazetteerClientConfiguration(java.util.HashMap gazetteers)
Creates a new GazetteerClientConfiguration object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conf
private static GazetteerClientConfiguration conf
gazetteers
private java.util.HashMap gazetteers
GazetteerClientConfiguration
GazetteerClientConfiguration(java.util.HashMap gazetteers)
- Creates a new GazetteerClientConfiguration object.
- Parameters:
gazetteers
-
getInstance
public static GazetteerClientConfiguration getInstance(java.net.URL confURL)
throws java.lang.Exception
- Parameters:
confURL
-
- Returns:
-
- Throws:
java.lang.Exception
getInstance
public static GazetteerClientConfiguration getInstance()
- Returns:
getGazetteerAddress
public java.net.URL getGazetteerAddress(java.lang.String gazetteer)
- returns the address of the submitted thesaurus
getGazetteerNames
public java.lang.String[] getGazetteerNames()
- returns the names of the thesauri known by the client