public class OpenDocumentConverter extends AbstractConverter
Modifier and Type | Field and Description |
---|---|
protected static Set<Namespace> |
ADDITIONAL_NAMESPACES |
meta
Constructor and Description |
---|
OpenDocumentConverter() |
Modifier and Type | Method and Description |
---|---|
protected 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(Metadata metadata)
Converts a Tika
Metadata -object into an XMPMeta containing the useful
properties. |
createArrayProperty, createArrayProperty, createCommaSeparatedArray, createCommaSeparatedArray, createLangAltProperty, createLangAltProperty, createProperty, createProperty, getXMPMeta, registerNamespaces, setMetadata
public OpenDocumentConverter() throws TikaException
TikaException
public com.adobe.xmp.XMPMeta process(Metadata metadata) throws com.adobe.xmp.XMPException
ITikaToXMPConverter
Metadata
-object into an XMPMeta
containing the useful
properties.process
in interface ITikaToXMPConverter
process
in class AbstractConverter
metadata
- a Tika Metadata objectcom.adobe.xmp.XMPException
- Forwards XMP errorsITikaToXMPConverter.process(Metadata)
protected Set<Namespace> getAdditionalNamespaces()
AbstractConverter
getAdditionalNamespaces
in class AbstractConverter
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.