| java.lang.Object org.mmbase.util.transformers.ReaderTransformer org.mmbase.util.transformers.ConfigurableReaderTransformer org.mmbase.util.transformers.ChunkedTransformer org.mmbase.util.transformers.RegexpReplacer org.mmbase.util.transformers.Censor
Censor | public class Censor extends RegexpReplacer (Code) | | Replaces certain 'forbidden' words by something more decent. Of course, censoring is evil, but
sometimes it can be amusing too. This is only an example implementation.
author: Michiel Meeuwissen since: MMBase-1.7 version: $Id: Censor.java,v 1.7 2007/02/24 21:57:50 nklasens Exp $ |
Methods inherited from org.mmbase.util.transformers.ChunkedTransformer | abstract protected String base()(Code)(Java Doc) public void configure(int i)(Code)(Java Doc) public String getEncoding()(Code)(Java Doc) public static void main(String[] argv)(Code)(Java Doc) protected Status newStatus()(Code)(Java Doc) abstract protected boolean replace(String string, Writer w, Status status) throws IOException(Code)(Java Doc) protected boolean replace(Status status)(Code)(Java Doc) protected boolean replaceWord(StringBuilder word, Writer writer, Status status) throws IOException(Code)(Java Doc) public Writer transform(Reader r, Writer w)(Code)(Java Doc) public Writer transformEntire(Reader r, Writer w)(Code)(Java Doc) public Writer transformLines(Reader r, Writer w)(Code)(Java Doc) public Writer transformWords(Reader r, Writer w)(Code)(Java Doc) public Writer transformXmlText(Reader r, Writer w)(Code)(Java Doc) public Writer transformXmlTextWords(Reader r, Writer w)(Code)(Java Doc) public Map<String, Config> transformers()(Code)(Java Doc)
|
Fields inherited from org.mmbase.util.transformers.ConfigurableReaderTransformer | protected int to(Code)(Java Doc)
|
|
|