The list of methods to do Boolean to String are organized into topic(s).
String
boolean2XML(Boolean b) Boolean as XML version string.
if (b == null || b.equals(Boolean.FALSE)) {
return "no";
return "yes";
String
boolean2XML(Boolean b) boolean XML
if (b == null || b.equals(Boolean.FALSE)) {
return "no";
return "yes";
String
booleanToCheckBox(final boolean value) Translate the given boolean value into a checkbox string equivalent.
String checkBoxVal = "";
if (value) {
checkBoxVal = "on";
return checkBoxVal;
String
booleanToString(Boolean b) boolean To String
String content = null;
if (b.booleanValue())
content = "1";
else
content = "0";
return content;
String
booleanToSTRING(boolean value) Convert a boolean to its string representation Equivalent to Boolean.valueOf(boolean).toString().toUpperCase() but valid also for JDK 1.3, which does not have valueOf(boolean)
return value ? "TRUE" : "FALSE";