public class GisConfigurationPropertyReader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GEONETWORK_PWD |
static String |
GEONETWORK_URL |
static String |
GEONETWORK_USER |
static String |
GEOSERVER_PWD |
static String |
GEOSERVER_URL |
static String |
GEOSERVER_USER |
static String |
GIS_CONFIGURATION_FILE |
static org.apache.log4j.Logger |
logger |
static String |
SCOPE |
static String |
TRANSECT_URL |
Constructor and Description |
---|
GisConfigurationPropertyReader(boolean readPropertyFromFile)
Instantiates a new gis configuration property reader.
|
Modifier and Type | Method and Description |
---|---|
String |
getGeoNetworkPwd() |
String |
getGeoNetworkUrl() |
String |
getGeoNetworkUser() |
String |
getGeoServerPwd() |
String |
getGeoServerUrl() |
String |
getGeoServerUser() |
String |
getScope() |
String |
getTransectUrl() |
boolean |
isReadPropertiesFromFile() |
static void |
main(String[] args) |
void |
readProperties() |
void |
setGeoNetworkPwd(String geoNetworkPwd) |
void |
setGeoNetworkUrl(String geoNetworkUrl) |
void |
setGeoNetworkUser(String geoNetworkUser) |
void |
setGeoServerPwd(String geoServerPwd) |
void |
setGeoServerUrl(String geoServerUrl) |
void |
setGeoServerUser(String geoServerUser) |
void |
setScope(String scope) |
void |
setTransectUrl(String transectUrl) |
String |
toString() |
public static final String GIS_CONFIGURATION_FILE
public static final String GEONETWORK_URL
public static final String GEONETWORK_USER
public static final String GEONETWORK_PWD
public static final String GEOSERVER_URL
public static final String GEOSERVER_USER
public static final String GEOSERVER_PWD
public static final String TRANSECT_URL
public static final String SCOPE
public static org.apache.log4j.Logger logger
public GisConfigurationPropertyReader(boolean readPropertyFromFile) throws PropertyFileNotFoundException
PropertyFileNotFoundException
- the property file not found exceptionpublic void readProperties() throws PropertyFileNotFoundException
PropertyFileNotFoundException
public boolean isReadPropertiesFromFile()
public String getGeoNetworkUrl()
public String getGeoNetworkUser()
public String getGeoNetworkPwd()
public String getGeoServerUrl()
public String getGeoServerUser()
public String getGeoServerPwd()
public String getTransectUrl()
public String getScope()
public void setGeoNetworkUrl(String geoNetworkUrl)
geoNetworkUrl
- the geoNetworkUrl to setpublic void setGeoNetworkUser(String geoNetworkUser)
geoNetworkUser
- the geoNetworkUser to setpublic void setGeoNetworkPwd(String geoNetworkPwd)
geoNetworkPwd
- the geoNetworkPwd to setpublic void setGeoServerUrl(String geoServerUrl)
geoServerUrl
- the geoServerUrl to setpublic void setGeoServerUser(String geoServerUser)
geoServerUser
- the geoServerUser to setpublic void setGeoServerPwd(String geoServerPwd)
geoServerPwd
- the geoServerPwd to setpublic void setTransectUrl(String transectUrl)
transectUrl
- the transectUrl to setpublic void setScope(String scope)
scope
- the scope to setpublic static void main(String[] args)
Copyright © 2016. All Rights Reserved.