public final class ArticleExtractor extends ExtractorBase
DefaultExtractor
.Modifier and Type | Field and Description |
---|---|
static ArticleExtractor |
INSTANCE |
Constructor and Description |
---|
ArticleExtractor() |
Modifier and Type | Method and Description |
---|---|
static ArticleExtractor |
getInstance()
Returns the singleton instance for
ArticleExtractor . |
boolean |
process(TextDocument doc)
Processes the given document
doc . |
public static final ArticleExtractor INSTANCE
public static ArticleExtractor getInstance()
ArticleExtractor
.public boolean process(TextDocument doc) throws BoilerpipeProcessingException
BoilerpipeFilter
doc
.doc
- The TextDocument
that is to be processed.true
if changes have been made to the
TextDocument
.BoilerpipeProcessingException