OKW_Properties extends Properties { public Boolean getProperty2Boolean(String fpsKey, String fpsDefault ) { Boolean lvbReturn = false; String lvsReturn = ""; lvsReturn = this.getProperty( fpsKey, fpsDefault ); lvbReturn = Boolean.parseBoolean( lvsReturn ); return lvbReturn; } private  OKW_Properties(); static OKW_Properties getInstance(); void clear(); void init(); void updateProperties(); Boolean addResource(String fpsResourceName); void addPropertiesFile(String fpsFileName); void PrintProperties(); void PrintPropertiesSources(); ArrayList<String> getKeysStartswith( String Startwitth ); ArrayList<String> getPropertiesForKeysStartswith( String Startwith ); @Override String getProperty(String fpsKey); String getProperty( String fpsKey, String fpsDefault, Object... Parameters ); Boolean getProperty2Boolean(String fpsKey, String fpsDefault );  }
@Test public final void tc_getProperty2Boolean() throws IOException { assertEquals( true, myProperties.getProperty2Boolean( "core.propertyDoesNotExist", "true" ) ); }