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.xmp.XMPMeta |
process(org.apache.tika.metadata.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 org.apache.tika.exception.TikaException
org.apache.tika.exception.TikaExceptionpublic com.adobe.xmp.XMPMeta process(org.apache.tika.metadata.Metadata metadata)
throws com.adobe.xmp.XMPException
ITikaToXMPConverterMetadata-object into an XMPMeta containing the useful
properties.process in interface ITikaToXMPConverterprocess in class AbstractConvertermetadata - a Tika Metadata objectcom.adobe.xmp.XMPException - If an error occurs during the creation of the XMP object.public Set<Namespace> getAdditionalNamespaces()
AbstractConvertergetAdditionalNamespaces in class AbstractConverterCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.