public class RTFConverter extends AbstractConverter
Modifier and Type | Field and Description |
---|---|
protected static Set<Namespace> |
ADDITIONAL_NAMESPACES |
meta
Constructor and Description |
---|
RTFConverter() |
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 RTFConverter() 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
- If an error occurs during the creation of the XMP object.protected Set<Namespace> getAdditionalNamespaces()
AbstractConverter
getAdditionalNamespaces
in class AbstractConverter
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.