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, preSavepublic ProfanityFilter()
public String preTranslate(WikiContext context, String content)
preTranslate in interface PageFilterpreTranslate in class BasicPageFiltercontext - The current wikicontext.content - WikiMarkup.Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.