Class MetadataConverter


  • public class MetadataConverter
    extends Object
    The Class MetadataConverter.
    Author:
    Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it May 15, 2017
    • Constructor Detail

      • MetadataConverter

        public MetadataConverter()
    • Method Detail

      • getGeoserverBaseUri

        public static GeoserverBaseUri getGeoserverBaseUri​(String uri)
        Gets the geoserver base uri.
        Parameters:
        uri - the uri
        Returns:
        the input uri without the parameters, (the uri substring from start to index of '?' char (if exists)) if geoserver base url not found, geoserver url otherwise
      • getWMSOnLineResource

        public static GisLayerItem getWMSOnLineResource​(GeonetworkInstance geonetowrkInstance,
                                                        String uuid)
                                                 throws Exception
        Gets the WMS on line resource.
        Parameters:
        geonetowrkInstance - the geonetowrk instance
        uuid - the uuid
        Returns:
        the WMS on line resource
        Throws:
        Exception - the exception