Class ListAtEndFilter
- java.lang.Object
-
- com.kohlschutter.boilerpipe.filters.heuristics.ListAtEndFilter
-
- All Implemented Interfaces:
BoilerpipeFilter
public final class ListAtEndFilter extends java.lang.Object implements BoilerpipeFilter
Marks nested list-item blocks after the end of the main content.
-
-
Field Summary
Fields Modifier and Type Field Description static ListAtEndFilterINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateListAtEndFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprocess(TextDocument doc)Processes the given documentdoc.
-
-
-
Field Detail
-
INSTANCE
public static final ListAtEndFilter INSTANCE
-
-
Method Detail
-
process
public boolean process(TextDocument doc) throws BoilerpipeProcessingException
Description copied from interface:BoilerpipeFilterProcesses the given documentdoc.- Specified by:
processin interfaceBoilerpipeFilter- Parameters:
doc- TheTextDocumentthat is to be processed.- Returns:
trueif changes have been made to theTextDocument.- Throws:
BoilerpipeProcessingException
-
-