public class DefaultExtractor extends ExtractorBase
Modifier and Type | Field and Description |
---|---|
static DefaultExtractor |
INSTANCE |
Constructor and Description |
---|
DefaultExtractor() |
Modifier and Type | Method and Description |
---|---|
static DefaultExtractor |
getInstance()
Returns the singleton instance for
DefaultExtractor . |
boolean |
process(TextDocument doc)
Processes the given document
doc . |
public static final DefaultExtractor INSTANCE
public static DefaultExtractor getInstance()
DefaultExtractor
.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