Class ISOMetadataByTemplate
- java.lang.Object
-
- org.gcube.spatial.data.geonetwork.iso.tpl.ISOMetadataByTemplate
-
public class ISOMetadataByTemplate extends Object
-
-
Constructor Summary
Constructors Constructor Description ISOMetadataByTemplate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilecreateXML(MetadataDescriptor desc)static Filecustom(Object descriptor, String template)static voidregisterTemplateFolder(File baseDir)
-
-
-
Method Detail
-
createXML
public static final File createXML(MetadataDescriptor desc) throws freemarker.template.TemplateNotFoundException, freemarker.template.MalformedTemplateNameException, freemarker.core.ParseException, IOException, freemarker.template.TemplateException
- Throws:
freemarker.template.TemplateNotFoundExceptionfreemarker.template.MalformedTemplateNameExceptionfreemarker.core.ParseExceptionIOExceptionfreemarker.template.TemplateException
-
custom
public static final File custom(Object descriptor, String template) throws freemarker.template.TemplateNotFoundException, freemarker.template.MalformedTemplateNameException, freemarker.core.ParseException, IOException, freemarker.template.TemplateException
- Throws:
freemarker.template.TemplateNotFoundExceptionfreemarker.template.MalformedTemplateNameExceptionfreemarker.core.ParseExceptionIOExceptionfreemarker.template.TemplateException
-
registerTemplateFolder
public static final void registerTemplateFolder(File baseDir) throws IOException
- Throws:
IOException
-
-