|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ramapuram.thomas.util.CurrencyConverter
public class CurrencyConverter
This class is converts a Double to a double-digit String (and vise-versa) by BeanUtils when copying properties.
| Constructor Summary | |
|---|---|
CurrencyConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
convert(java.lang.Class type,
java.lang.Object value)
Convert a String to a Double and a Double to a String |
void |
setDecimalFormatter(java.text.DecimalFormat df)
|
| 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 setDecimalFormatter(java.text.DecimalFormat df)
public final java.lang.Object convert(java.lang.Class type,
java.lang.Object value)
convert in interface org.apache.commons.beanutils.Convertertype - the class type to outputvalue - the object to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||