try { return Boolean.valueOf(booleanS).booleanValue(); } catch (Exception e) { throw new NumberFormatException("Parameter " + key + " is missing or malformed (should be true or false)");
if (booleanS != null) { if (booleanS.equalsIgnoreCase("yes") || booleanS.equalsIgnoreCase("true")) { return true; } else if (booleanS.equalsIgnoreCase("no") || booleanS.equalsIgnoreCase("false")) { return false; }
	public boolean getBooleanProperty(String key) {		String booleanS = getProperty(key);		try {			return Boolean.valueOf(booleanS).booleanValue();		} catch (Exception e) {			throw new NumberFormatException("Parameter " + key + " is missing or malformed (should be true or false)");		}	}