public class BooleanUtils
extends org.apache.commons.lang3.BooleanUtils
BooleanUtils thats adds some new methods.| Constructor and Description |
|---|
BooleanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
toBoolean(String str,
boolean trueIfNull)
Just as
BooleanUtils.toBoolean(String), except that true will be returned if str = null when trueIfNull is
true, false otherwise. |
and, and, compare, isFalse, isNotFalse, isNotTrue, isTrue, negate, or, or, toBoolean, toBoolean, toBoolean, toBoolean, toBoolean, toBoolean, toBooleanDefaultIfNull, toBooleanObject, toBooleanObject, toBooleanObject, toBooleanObject, toBooleanObject, toBooleanObject, toInteger, toInteger, toInteger, toIntegerObject, toIntegerObject, toIntegerObject, toIntegerObject, toString, toString, toStringOnOff, toStringOnOff, toStringTrueFalse, toStringTrueFalse, toStringYesNo, toStringYesNo, xor, xorpublic static final boolean toBoolean(String str, boolean trueIfNull)
BooleanUtils.toBoolean(String), except that true will be returned if str = null when trueIfNull is
true, false otherwise.Copyright © 2020 CrafterCMS. All rights reserved.