public void extract(WPInputStream in, XHTMLContentHandler xhtml)
            throws IOException, SAXException {
        int chunk = 4096;
        StringBuilder out = new StringBuilder(chunk);
        int c;
        while ((c = in.read()) != -1) {
            extract(c, in, out, xhtml);
            if (out.length() >= chunk) {
                xhtml.characters(out.toString());
                out.setLength(0);
            }
        }
        endParagraph(out, xhtml);
    }
Extracts WordPerfect Document Area text from a WordPerfect document.

@author Pascal Essiembre
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/wordperfect/WPDocumentAreaExtractor.java