|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjodd.bean.converters.BooleanConverter
Converts given object to Boolean. Given object (if not already instance of Boolean) is first converted to String and then analyzed.
Constructor Summary | |
BooleanConverter()
|
Method Summary | |
java.lang.Object |
convert(java.lang.Object value)
Converts object received as parameter into object of another class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BooleanConverter()
Method Detail |
public java.lang.Object convert(java.lang.Object value)
Converter
If conversion is not possible, and IllegalParameterException
should be thrown.
convert
in interface Converter
value
- object to convert from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |