public class ProfanityFilter extends BasicPageFilter
profanity.properties
file, inside
com/ecyrd/jspwiki/filters
package. The search of profanities is
case unsensitive.m_engine
Constructor and Description |
---|
ProfanityFilter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
preTranslate(WikiContext context,
java.lang.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 java.lang.String preTranslate(WikiContext context, java.lang.String content)
preTranslate
in interface PageFilter
preTranslate
in class BasicPageFilter
context
- The current wikicontext.content
- WikiMarkup.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.