|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.transformation.CurrencyConverter
public class CurrencyConverter
This class implements Transformer interface. It can be used to convert currency from one to another type Date: 23.07.2004.
Constructor Summary | |
---|---|
CurrencyConverter()
|
Method Summary | |
---|---|
void |
configure(java.lang.String filePath)
This method reads path to property file where currency is placed. |
void |
release()
This method release resources |
java.util.List |
transformValue(java.util.List valueToTransform)
This method will multiply currency from source for given value from property file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrencyConverter()
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, java.lang.ArithmeticException
transformValue
in interface Transformer
valueToTransform
- List for transformation
java.lang.Exception
java.lang.ArithmeticException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |