public class SwebleWikipediaTextFilter extends Object implements TextMapFilter
| Constructor and Description |
|---|
SwebleWikipediaTextFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableMapping(boolean enable)
Set this to
false for better performance. |
PlainTextMapping |
filter(String wikiText)
Filter the given text, keeping a mapping from plain text to original markup positions.
|
public PlainTextMapping filter(String wikiText)
TextMapFilternull if mapping has been disabled for
performance reasons.filter in interface TextMapFilterpublic void enableMapping(boolean enable)
false for better performance. The result of filter(String)
will then have a null mapping.