Class MSOfficeXMLConverter

  • All Implemented Interfaces:
    ITikaToXMPConverter

    public class MSOfficeXMLConverter
    extends AbstractConverter
    Tika to XMP mapping for the Office Open XML formats Word (.docx), Excel (.xlsx) and PowerPoint (.pptx).
    • Field Detail

      • ADDITIONAL_NAMESPACES

        protected static final Set<Namespace> ADDITIONAL_NAMESPACES
    • Method Detail

      • process

        public com.adobe.xmp.XMPMeta process​(Metadata metadata)
                                      throws com.adobe.xmp.XMPException
        Description copied from interface: ITikaToXMPConverter
        Converts a Tika Metadata-object into an XMPMeta containing the useful properties.
        Specified by:
        process in interface ITikaToXMPConverter
        Specified by:
        process in class AbstractConverter
        Parameters:
        metadata - a Tika Metadata object
        Returns:
        Returns an XMPMeta object.
        Throws:
        com.adobe.xmp.XMPException - If an error occurs during the creation of the XMP object.
      • getAdditionalNamespaces

        protected Set<Namespace> 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 class AbstractConverter
        Returns:
        the additional namespace information