public final class BoolConverter extends Object
Modifier and Type | Method and Description |
---|---|
static String |
convertBoolToString(boolean booleanToString)
Converts a boolean into a string "0" or "1".
|
static boolean |
convertStringToBool(String stringToBool)
Converts a string into the corresponding boolean primitive true or false.
|
public static boolean convertStringToBool(String stringToBool)
stringToBool
- String representation of a boolean. Allowed is "0" or "1".public static String convertBoolToString(boolean booleanToString)
booleanToString
- boolean value to convert to String "0" or "1".Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.