public boolean toBoolean ( String name , boolean defaultValue ) { String property = getProperties ( ) . getProperty ( name ) ; return property != null ? Boolean . parseBoolean ( property ) : defaultValue ; }
Get property . The method returns the default value if the property is not parsed .