|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.l3s.boilerpipe.filters.simple.BoilerplateBlockFilter
public final class BoilerplateBlockFilter
Removes TextBlock
s which have explicitly been marked as "not content".
Field Summary | |
---|---|
static BoilerplateBlockFilter |
INSTANCE
|
Constructor Summary | |
---|---|
BoilerplateBlockFilter()
|
Method Summary | |
---|---|
static BoilerplateBlockFilter |
getInstance()
Returns the singleton instance for BoilerplateBlockFilter. |
boolean |
process(TextDocument doc)
Processes the given document doc . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BoilerplateBlockFilter INSTANCE
Constructor Detail |
---|
public BoilerplateBlockFilter()
Method Detail |
---|
public static BoilerplateBlockFilter 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |