Package org.apache.tika.xmp.convert
Class MSOfficeBinaryConverter
java.lang.Object
org.apache.tika.xmp.convert.AbstractConverter
org.apache.tika.xmp.convert.MSOfficeBinaryConverter
- All Implemented Interfaces:
ITikaToXMPConverter
Tika to XMP mapping for the binary MS formats Word (.doc), Excel (.xls) and PowerPoint (.ppt).
-
Field Summary
Fields inherited from class org.apache.tika.xmp.convert.AbstractConverter
meta
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionEvery Converter has to provide information about namespaces that are used additionally to the core set of XMP namespaces.com.adobe.internal.xmp.XMPMeta
Converts a TikaMetadata
-object into anXMPMeta
containing the useful properties.Methods inherited from class org.apache.tika.xmp.convert.AbstractConverter
createArrayProperty, createArrayProperty, createCommaSeparatedArray, createCommaSeparatedArray, createLangAltProperty, createLangAltProperty, createProperty, createProperty, getXMPMeta, registerNamespaces, setMetadata
-
Field Details
-
ADDITIONAL_NAMESPACES
-
-
Constructor Details
-
MSOfficeBinaryConverter
- Throws:
TikaException
-
-
Method Details
-
process
public com.adobe.internal.xmp.XMPMeta process(Metadata metadata) throws com.adobe.internal.xmp.XMPException Description copied from interface:ITikaToXMPConverter
Converts a TikaMetadata
-object into anXMPMeta
containing the useful properties.- Specified by:
process
in interfaceITikaToXMPConverter
- Specified by:
process
in classAbstractConverter
- Parameters:
metadata
- a Tika Metadata object- Returns:
- Returns an XMPMeta object.
- Throws:
com.adobe.internal.xmp.XMPException
- Forwards XMP errors- See Also:
-
getAdditionalNamespaces
Description copied from class:AbstractConverter
Every Converter has to provide information about namespaces that are used additionally to the core set of XMP namespaces.- Specified by:
getAdditionalNamespaces
in classAbstractConverter
- Returns:
- the additional namespace information
-