an extension over boolean.getboolean method . handles security restrictions , and provides default value in case when access to the property is restricted , of when the property does not exist . concode_field_sep PlaceHolder placeHolder concode_field_sep int getInt concode_elem_sep int getInt concode_elem_sep String getProperty concode_elem_sep String getProperty concode_elem_sep boolean isSecurityProtected concode_elem_sep String getenv concode_elem_sep Map<String,String> getenv
boolean function ( String arg0 , boolean arg1 ) { try { if ( System . getProperty ( arg0 ) != null ) { return Boolean . getBoolean ( arg0 ) ; } else { return arg1 ; } } catch ( SecurityException loc0 ) { return arg1 ; } }