979899100101102103104105106107
new EmbeddedContentHandler(new BodyContentHandler(handler)), metadata, context); } catch (TikaException e) { // Could not parse the entry, just skip the content } finally { tmp.dispose(); } if(outputHtml) { handler.endElement(XHTML, "div", "div"); }
125126127128129130131132133134135
// Recurse extractor.extract(tis, extractor, handler); } } finally { tmp.dispose(); } } public void parse( InputStream stream, ContentHandler handler, Metadata metadata)