|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.transformation.ReplaceData
This class implements Transformer interface. It can be used to replace data from database table with values placed in property file format to another Date: 23.07.2004.
Constructor Summary | |
ReplaceData()
|
Method Summary | |
void |
configure(java.lang.String filePath)
This method reads path to property file which is used for replacing data Keys from property file are values from table, and values from property file are new values which will be placed instead of old ones. |
void |
release()
This method release resources |
java.util.List |
transformValue(java.util.List valueToTransform)
This method will change old values from table with new ones from property file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReplaceData()
Method Detail |
public void configure(java.lang.String filePath) throws java.lang.Exception
configure
in interface Transformer
filePath
- Path to property file
java.lang.Exception
public void release() throws java.lang.Exception
release
in interface Transformer
java.lang.Exception
public java.util.List transformValue(java.util.List valueToTransform) throws java.lang.Exception
transformValue
in interface Transformer
valueToTransform
- List for transformation
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |