public class YesNoUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_AS_STRING |
static String |
YES_AS_STRING |
| Constructor and Description |
|---|
YesNoUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
asBoolean(String flag)
Converts the given string into a Boolean flag of either true, false or
null.
|
static String |
asString(Boolean flag)
Converts the given flag into a string of either "Y", "N" or null.
|
public static final String YES_AS_STRING
public static final String NO_AS_STRING
Copyright © 2018. All rights reserved.