private String getPropertyValue ( String name ) { // Check for corresponding environment variable if overrides enabled if ( environmentPropertiesEnabled ) { // Transform the name according to common convention final String envName = name . replace ( ' ' , ' ' ) . toUpperCase ( ) ; final String envValue = System . getenv ( envName ) ; if ( envValue != null ) { return envValue ; } } return properties . getProperty ( name ) ; }
Gets the string value for a property name .