Package liquibase.util
Class BooleanUtil
- java.lang.Object
-
- liquibase.util.BooleanUtil
-
- Direct Known Subclasses:
BooleanParser
,BooleanUtils
public class BooleanUtil extends Object
Various utility methods for working with boolean objects.
-
-
Constructor Summary
Constructors Constructor Description BooleanUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isTrue(Boolean value)
static boolean
parseBoolean(String booleanStr)
-
-
-
Method Detail
-
parseBoolean
public static boolean parseBoolean(String booleanStr)
- Parameters:
booleanStr
- not trimmed string- Returns:
- true, if represents values "true", "t", "yes", "y", or integer >= 1, false otherwise
-
-