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