To convert from a Boolean to a string
new Boolean(new String("hej".equalsIgnoreCase("HEJ")).toString(); |
and then from a string to a boolean
boolean theValue = Boolean.parseBoolean(strBoolean); |
To convert from a Boolean to a string
new Boolean(new String("hej".equalsIgnoreCase("HEJ")).toString(); |
and then from a string to a boolean
boolean theValue = Boolean.parseBoolean(strBoolean); |