com.jmw.tzap.filters
Class ReverseFilter

java.lang.Object
  extended by com.jmw.tzap.AbstractFilter
      extended by com.jmw.tzap.IteratingFilter
          extended by com.jmw.tzap.filters.ReplaceFilterPlus
              extended by com.jmw.tzap.filters.ReverseFilter

public class ReverseFilter
extends ReplaceFilterPlus

A filter that finds a regex and replaces it with same value but reversed. For example 'abc' would become 'cba'.


Field Summary
 
Fields inherited from class com.jmw.tzap.filters.ReplaceFilterPlus
matcher, modifyGroup, pattern, postGroup, preGroup
 
Fields inherited from class com.jmw.tzap.AbstractFilter
encoding, MSG_DEBUG, MSG_ERR, MSG_INFO, MSG_VERBOSE, MSG_WARN, task
 
Constructor Summary
ReverseFilter()
           
 
Method Summary
protected  java.lang.String modifiedReplacment()
           
 
Methods inherited from class com.jmw.tzap.filters.ReplaceFilterPlus
doFilter, load, setModifyGroup, setPostGroup, setPreGroup, setRegex, unload, validateParameters
 
Methods inherited from class com.jmw.tzap.IteratingFilter
execute
 
Methods inherited from class com.jmw.tzap.AbstractFilter
getName, log, log, setEncoding, setTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseFilter

public ReverseFilter()
Method Detail

modifiedReplacment

protected java.lang.String modifiedReplacment()
Specified by:
modifiedReplacment in class ReplaceFilterPlus