Class CatalogueStaticConfigurations


  • public class CatalogueStaticConfigurations
    extends Object
    The Class CatalogueStaticConfigurations.
    Author:
    Francesco Mangiacrapa at ISTI-CNR Pisa (Italy) Apr 6, 2020
    • Constructor Detail

      • CatalogueStaticConfigurations

        public CatalogueStaticConfigurations()
        Instantiates a new static configurations.
    • Method Detail

      • buildRelativeURLToPublicCatalogueGateway

        public String buildRelativeURLToPublicCatalogueGateway​(String privateCKANCatalogueURL)
        Builds the relative URL to public catalogue gateway.
        Parameters:
        privateCKANCatalogueURL - the private CKAN catalogue URL
        Returns:
        the relative URL that must be used for Public Catalogue Gateway
      • getPrefixesUsedForCkanHostname

        public List<String> getPrefixesUsedForCkanHostname()
        Gets the prefixes used for ckan hostname.
        Returns:
        the prefixes used for ckan hostname
      • getPrefixToBeUsedForCatalogueURL

        public String getPrefixToBeUsedForCatalogueURL()
        Gets the prefix to be used for catalogue URL.
        Returns:
        the prefix to be used for catalogue URL