com.northconcepts.datapipeline.transform
Class RenameField

java.lang.Object
  extended by com.northconcepts.datapipeline.transform.Transformer
      extended by com.northconcepts.datapipeline.transform.RenameField

public class RenameField
extends Transformer


Constructor Summary
RenameField(String oldName, String newName)
           
 
Method Summary
 String getNewName()
           
 String getOldName()
           
 String toString()
           
 boolean transform(Record record)
           
 
Methods inherited from class com.northconcepts.datapipeline.transform.Transformer
addExceptionProperties, getReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenameField

public RenameField(String oldName,
                   String newName)
Method Detail

getOldName

public String getOldName()

getNewName

public String getNewName()

transform

public boolean transform(Record record)
                  throws Throwable
Specified by:
transform in class Transformer
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.