Class QuattroProParser

  • All Implemented Interfaces:
    Serializable, org.apache.tika.parser.Parser

    public class QuattroProParser
    extends Object
    implements org.apache.tika.parser.Parser

    Parser for Corel QuattroPro documents (part of Corel WordPerfect Office Suite). Targets QPW v9 File Format but appears to be compatible with more recent versions too.

    Author:
    Pascal Essiembre
    See Also:
    Serialized Form
    • Field Detail

      • QP_9

        public static final org.apache.tika.mime.MediaType QP_9
      • QP_7_8

        public static final org.apache.tika.mime.MediaType QP_7_8
    • Constructor Detail

      • QuattroProParser

        public QuattroProParser()
    • Method Detail

      • getSupportedTypes

        public Set<org.apache.tika.mime.MediaType> getSupportedTypes​(org.apache.tika.parser.ParseContext context)
        Specified by:
        getSupportedTypes in interface org.apache.tika.parser.Parser
      • parse

        public void parse​(InputStream stream,
                          ContentHandler handler,
                          org.apache.tika.metadata.Metadata metadata,
                          org.apache.tika.parser.ParseContext context)
                   throws IOException,
                          SAXException,
                          org.apache.tika.exception.TikaException
        Specified by:
        parse in interface org.apache.tika.parser.Parser
        Throws:
        IOException
        SAXException
        org.apache.tika.exception.TikaException