Class CatalogueStaticConfigurations
- java.lang.Object
-
- org.gcube.datatransfer.resolver.catalogue.resource.CatalogueStaticConfigurations
-
public class CatalogueStaticConfigurations extends Object
The Class CatalogueStaticConfigurations.- Author:
- Francesco Mangiacrapa at ISTI-CNR Pisa (Italy) Apr 6, 2020
-
-
Constructor Summary
Constructors Constructor Description CatalogueStaticConfigurations()Instantiates a new static configurations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildRelativeURLToPublicCatalogueGateway(String privateCKANCatalogueURL)Builds the relative URL to public catalogue gateway.List<String>getPrefixesUsedForCkanHostname()Gets the prefixes used for ckan hostname.StringgetPrefixToBeUsedForCatalogueURL()Gets the prefix to be used for catalogue URL.
-
-
-
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
-
-