public class GeoGetStylesUtility extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COLORSCALERANGE |
static String |
COLORSCALERANGE_DEFAULT_VALUE |
static int |
CONNECTION_TIMEOUT
The Constant CONNECTION_TIMEOUT.
|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
GeoGetStylesUtility(String wmsRequest)
Instantiates a new geo get styles utility.
|
GeoGetStylesUtility(String wmsRequest,
int connectionTimeout)
Instantiates a new geo get styles utility.
|
GeoGetStylesUtility(WmsUrlValidator validator)
Instantiates a new geo get styles utility.
|
GeoGetStylesUtility(WmsUrlValidator validator,
int connectionTimeout)
Instantiates a new geo get styles utility.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getGeoStyles()
Gets the geo styles.
|
Map<String,String> |
getMapNcWmsStyles()
Gets the map ncWMS styles.
|
Map<String,String> |
getMapWmsNoStandardParameters()
Gets the map wms no standard parameters.
|
String |
getWmsRequest()
Gets the wms request.
|
boolean |
isNcWms()
Checks if is nc wms.
|
String |
toString() |
public static org.apache.log4j.Logger logger
public static final String COLORSCALERANGE
public static final String COLORSCALERANGE_DEFAULT_VALUE
public static final int CONNECTION_TIMEOUT
public GeoGetStylesUtility(String wmsRequest) throws Exception
wmsRequest
- the wms requestException
- the exceptionpublic GeoGetStylesUtility(String wmsRequest, int connectionTimeout) throws Exception
wmsRequest
- the wms requestconnectionTimeout
- the connection timeout sets a specified timeout value, in milliseconds, to be used when opening URLConnection.Exception
- the exceptionpublic GeoGetStylesUtility(WmsUrlValidator validator) throws Exception
validator
- the validatorException
- the exceptionpublic GeoGetStylesUtility(WmsUrlValidator validator, int connectionTimeout) throws Exception
validator
- the validatorconnectionTimeout
- the connection timeout sets a specified timeout value, in milliseconds, to be used when opening URLConnection.Exception
- the exceptionpublic boolean isNcWms()
public String getWmsRequest()
public Map<String,String> getMapWmsNoStandardParameters()
public Map<String,String> getMapNcWmsStyles()
Copyright © 2016. All Rights Reserved.