public final class BooleanParser
extends java.lang.Object
BooleanParser
Modifier and Type | Method and Description |
---|---|
static boolean |
valueOf(java.lang.String s)
Deprecated.
Return a boolean based on the value contained in the string.
|
public static boolean valueOf(java.lang.String s)
The following values are considered true: "true", "t", "yes", "on", "1".
All other values, including 'null', are false.
All comparisons are case-insensitive.
Copyright © 2015 The Apache Software Foundation