public class NcWmsGetMetadata extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
CONNECTION_TIMEOUT
The Constant CONNECTION_TIMEOUT.
|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
NcWmsGetMetadata() |
Modifier and Type | Method and Description |
---|---|
static NcWmsLayerMetadata |
getMetadata(String wmsServerUri,
String layerName)
Gets the metadata.
|
static NcWmsLayerMetadata |
getMetadata(String wmsServerUri,
String layerName,
int connectionTimeout,
NcWmsLayerMetadata.METADATA... meta)
Gets the metadata.
|
static void |
main(String[] args)
The main method.
|
protected static final int CONNECTION_TIMEOUT
public static org.apache.log4j.Logger logger
public static NcWmsLayerMetadata getMetadata(String wmsServerUri, String layerName) throws Exception
wmsServerUri
- the wms server urilayerName
- the layer nameException
- the exceptionpublic static NcWmsLayerMetadata getMetadata(String wmsServerUri, String layerName, int connectionTimeout, NcWmsLayerMetadata.METADATA... meta) throws Exception
wmsServerUri
- the wms server urilayerName
- the layer nameconnectionTimeout
- the connection timeoutmeta
- the metaException
- the exceptionpublic static void main(String[] args)
args
- the argumentsCopyright © 2016. All Rights Reserved.