- All Implemented Interfaces:
public final class BooleanConverter
A converter for boolean. This converter considered as 'true' : "true", "on", "1",
"yes". All other values are considered as 'false' (as a consequence, 'null' is considered as 'false').
- Clement Escoffier
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Boolean fromString(String value)
Creates the boolean value from the given String. If the given String does not match one of the 'true' value,
false is returned.
- Specified by:
fromString in interface
value - the value
- the boolean object
Copyright © 2021 Eclipse. All rights reserved.