public class BooleanUtil extends Object
Constructor and Description |
---|
BooleanUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
toBoolean(String s,
boolean defaultValue)
Behaves much like org.apache.commons.lang3.BooleanUtils but returns the defaultValue if
the input string is null, empty, or unrecognized.
|
public static boolean toBoolean(String s, boolean defaultValue)
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.