| Constructor and Description |
|---|
OperaBoolean() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBoolesque(String string)
Whether string holds a boolean-like value.
|
static boolean |
parseBoolean(String string)
Parses given string and returns its value as a boolean.
|
public static boolean parseBoolean(String string)
string - string to parseIllegalArgumentException - if parameter is not a boolesque value ("1", "true", "0",
"false")NullPointerException - if parameter is nullpublic static boolean isBoolesque(String string)
string - string to checkIllegalArgumentException - if parameter is not a boolesque value ("1", "true", "0",
"false")NullPointerException - if parameter is nullCopyright © 2012. All Rights Reserved.