Class PDFExporterConfigProvider
- java.lang.Object
-
- org.gcube.application.geoportaldatamapper.exporter.PDFExporterConfigProvider
-
public class PDFExporterConfigProvider extends Object
Retrieves available 'PDF Exporter Config' from a single Generic Resource - secondary Type : "CMS" - name : "PDF_Exporter_Config".- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Nov 20, 2023
-
-
Constructor Summary
Constructors Constructor Description PDFExporterConfigProvider()Instantiates a new exporter file provider.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TfromXml(String xml, Class<T> clazz)Deserializes a XML text to Object.static StringgetGcubeGenericQueryString(String secondaryType, String resourceName)Gets the gcube generic query string.protected PDFExporterConfigreadConfigsFromGR()Read configs from GR.
-
-
-
Method Detail
-
readConfigsFromGR
protected PDFExporterConfig readConfigsFromGR() throws Exception
Read configs from GR.- Returns:
- the PDF exporter project config
- Throws:
Exception- the exception
-
getGcubeGenericQueryString
public static String getGcubeGenericQueryString(String secondaryType, String resourceName)
Gets the gcube generic query string.- Parameters:
secondaryType- the secondary typeresourceName- the resource name- Returns:
- the gcube generic query string
-
-