Class NcWmsGetMetadata


  • public class NcWmsGetMetadata
    extends Object
    The Class NcWmsGetMetadata.
    Author:
    Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Dec 18, 2015
    • 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
    • Constructor Detail

      • NcWmsGetMetadata

        public NcWmsGetMetadata()
    • Method Detail

      • getMetadata

        public static NcWmsLayerMetadata getMetadata​(String wmsServerUri,
                                                     String layerName)
                                              throws Exception
        Gets the metadata.
        Parameters:
        wmsServerUri - the wms server uri
        layerName - 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 uri
        layerName - the layer name
        connectionTimeout - the connection timeout
        meta - the meta
        Returns:
        the metadata
        Throws:
        Exception - the exception
      • main

        public static void main​(String[] args)
        The main method.
        Parameters:
        args - the arguments