How do I read a boolean value from a properties file using ResourceBundle?
and the properties file contains:Code:ResourceBundle c = ResourceBundle.getBundle("demo.OrgModify", Locale.ENGLISH); boolean cont = Boolean.getBoolean(c.getString("Continue"));
Continue = True
but cont is always false.
What do I need to put in the properties file to set cont=true?
(I can read string values with no problem)




Reply With Quote