com.googlecode.fascinator.indexer.rules
Class ModifyField

java.lang.Object
  extended by com.googlecode.fascinator.api.indexer.rule.Rule
      extended by com.googlecode.fascinator.indexer.rules.ModifyField

public class ModifyField
extends Rule


Constructor Summary
ModifyField(String fieldName, String replacement)
           
ModifyField(String fieldName, String regex, String replacement)
           
 
Method Summary
 void run(Reader in, Writer out)
           
 
Methods inherited from class com.googlecode.fascinator.api.indexer.rule.Rule
getLog, getName, isRequired, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyField

public ModifyField(String fieldName,
                   String replacement)

ModifyField

public ModifyField(String fieldName,
                   String regex,
                   String replacement)
Method Detail

run

public void run(Reader in,
                Writer out)
         throws RuleException
Specified by:
run in class Rule
Throws:
RuleException


Copyright © 2009-2014. All Rights Reserved.