|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.sqoop.lib.BooleanParser
public final class BooleanParser
Parse string representations of boolean values into boolean scalar types.
Method Summary | |
---|---|
static boolean |
valueOf(java.lang.String s)
Return a boolean based on the value contained in the string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |