public class ProfanityFilter extends BasicPageFilter
profanity.properties
file, inside
org/apache/wiki/filters
package. The search of profanities
is case unsensitive.m_engine
Constructor and Description |
---|
ProfanityFilter() |
Modifier and Type | Method and Description |
---|---|
String |
preTranslate(WikiContext context,
String content)
This method is called whenever a page has been loaded from the provider,
but not yet been sent through the markup-translation process.
|
destroy, initialize, postSave, postTranslate, preSave
public ProfanityFilter()
public String preTranslate(WikiContext context, String content)
preTranslate
in interface PageFilter
preTranslate
in class BasicPageFilter
context
- The current wikicontext.content
- WikiMarkup.Copyright © 2001-2018 The Apache Software Foundation. All rights reserved.