wyvern.lib.classes.filters
Class SpeechFilter.Replacement

java.lang.Object
  extended bywyvern.lib.classes.filters.SpeechFilter.Replacement
Enclosing class:
SpeechFilter

public class SpeechFilter.Replacement
extends java.lang.Object

Keeps track of a pattern and its replacement.


Constructor Summary
SpeechFilter.Replacement(java.util.regex.Pattern p, java.lang.String r)
          Constructs a new Replacement
 
Method Summary
 java.util.regex.Pattern getPattern()
          Returns the Pattern for this replacement.
 java.lang.String getReplacement()
          Returns the replacement string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpeechFilter.Replacement

public SpeechFilter.Replacement(java.util.regex.Pattern p,
                                java.lang.String r)
Constructs a new Replacement

Method Detail

getPattern

public java.util.regex.Pattern getPattern()
Returns the Pattern for this replacement.


getReplacement

public java.lang.String getReplacement()
Returns the replacement string.