Hi,
On Thu, Dec 6, 2012 at 7:10 PM, Shyam Maddali
<[email protected]> wrote:
> ContentHandler handler1 = new BoilerpipeContentHandler(textBuffer);
> ContentHandler handler2 = new BoilerpipeContentHandler(handler1,
> ArticleExtractor.getInstance());
You probably shouldn't try to stack Boilerpipe handlers like that.
Assuming your textBuffer is a Writer instance, you could rather try
replacing handler1 with something like this:
ContentHandler handler1 = new WriteOutContentHandler(textBuffer);
BR,
Jukka Zitting