public class GenericConverter extends AbstractConverter
Metadata map to XMP namespaces.
only those properties will be cnverted where the name contains a prefix and this prefix
correlates with a "known" prefix for a standard namespace. For example "dc:title" would be mapped
to the "title" property in the DublinCore namespace.meta| Constructor and Description |
|---|
GenericConverter() |
| Modifier and Type | Method and Description |
|---|---|
Set<Namespace> |
getAdditionalNamespaces()
Every Converter has to provide information about namespaces that are used additionally to the
core set of XMP namespaces.
|
com.adobe.internal.xmp.XMPMeta |
process(Metadata metadata)
Converts a Tika
Metadata-object into an XMPMeta containing the useful
properties. |
createArrayProperty, createArrayProperty, createCommaSeparatedArray, createCommaSeparatedArray, createLangAltProperty, createLangAltProperty, createProperty, createProperty, getXMPMeta, registerNamespaces, setMetadatapublic GenericConverter()
throws TikaException
TikaExceptionpublic com.adobe.internal.xmp.XMPMeta process(Metadata metadata) throws com.adobe.internal.xmp.XMPException
ITikaToXMPConverterMetadata-object into an XMPMeta containing the useful
properties.process in interface ITikaToXMPConverterprocess in class AbstractConvertermetadata - a Tika Metadata objectcom.adobe.internal.xmp.XMPException - If an error occurs during the creation of the XMP object.public Set<Namespace> getAdditionalNamespaces()
AbstractConvertergetAdditionalNamespaces in class AbstractConverterCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.