Class WordPerfectParser

java.lang.Object
org.apache.tika.parser.wordperfect.WordPerfectParser
All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

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

Parser for Corel WordPerfect documents. Targets WP6 File Format but appears to be compatible with more recent versions too.

Author:
Pascal Essiembre
See Also:
  • Constructor Details

    • WordPerfectParser

      public WordPerfectParser()
  • Method Details

    • 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
    • setIncludeDeletedContent

      @Field public void setIncludeDeletedContent(boolean includeDeletedContent)
      Whether or not to include deleted content. This currently only works with WP6. The default is true
      Parameters:
      includeDeletedContent -
    • isIncludeDeletedContent

      public boolean isIncludeDeletedContent()