Class NcWmsGetMetadata
- java.lang.Object
-
- org.gcube.spatial.data.geoutility.wms.NcWmsGetMetadata
-
public class NcWmsGetMetadata extends Object
The Class NcWmsGetMetadata.- Author:
- Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Dec 18, 2015
-
-
Field Summary
Fields Modifier and Type Field Description protected static intCONNECTION_TIMEOUTThe Constant CONNECTION_TIMEOUT.static org.apache.log4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description NcWmsGetMetadata()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NcWmsLayerMetadatagetMetadata(String wmsServerUri, String layerName)Gets the metadata.static NcWmsLayerMetadatagetMetadata(String wmsServerUri, String layerName, int connectionTimeout, NcWmsLayerMetadata.METADATA... meta)Gets the metadata.static voidmain(String[] args)The main method.
-
-
-
Field Detail
-
CONNECTION_TIMEOUT
protected static final int CONNECTION_TIMEOUT
The Constant CONNECTION_TIMEOUT.- See Also:
- Constant Field Values
-
logger
public static org.apache.log4j.Logger logger
-
-
Method Detail
-
getMetadata
public static NcWmsLayerMetadata getMetadata(String wmsServerUri, String layerName) throws Exception
Gets the metadata.- Parameters:
wmsServerUri- the wms server urilayerName- the layer name- Returns:
- the metadata
- Throws:
Exception- the exception
-
getMetadata
public static NcWmsLayerMetadata getMetadata(String wmsServerUri, String layerName, int connectionTimeout, NcWmsLayerMetadata.METADATA... meta) throws Exception
Gets the metadata.- Parameters:
wmsServerUri- the wms server urilayerName- the layer nameconnectionTimeout- the connection timeoutmeta- the meta- Returns:
- the metadata
- Throws:
Exception- the exception
-
main
public static void main(String[] args)
The main method.- Parameters:
args- the arguments
-
-