public class BooleanConverter extends Object
| Constructor and Description |
|---|
BooleanConverter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convert(boolean b)
Converts a boolean to a String.
|
static boolean |
convert(String value)
Converts a String value to a boolean.
|
public static String convert(boolean b)
b - the boolean valuepublic static boolean convert(String value) throws FieldConvertError
value - the String value to convertFieldConvertError - raised for any value other than "Y" or "N".Copyright © 2019. All rights reserved.