Class WordPerfectParser
- java.lang.Object
-
- org.apache.tika.parser.AbstractParser
-
- org.apache.tika.parser.wordperfect.WordPerfectParser
-
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
public class WordPerfectParser extends org.apache.tika.parser.AbstractParserParser for Corel WordPerfect documents. Targets WP6 File Format but appears to be compatible with more recent versions too.
- Author:
- Pascal Essiembre
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WordPerfectParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.apache.tika.mime.MediaType>getSupportedTypes(org.apache.tika.parser.ParseContext context)booleanisIncludeDeletedContent()voidparse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)voidsetIncludeDeletedContent(boolean includeDeletedContent)Whether or not to include deleted content.
-
-
-
Method Detail
-
getSupportedTypes
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
-
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
- Throws:
IOExceptionSAXExceptionorg.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 istrue- Parameters:
includeDeletedContent-
-
isIncludeDeletedContent
public boolean isIncludeDeletedContent()
-
-