public static String getProperty ( Properties props , String key , String def ) { String value = props . getProperty ( key , def ) ; if ( value == null ) { return null ; } if ( "" . equals ( value ) ) { return value ; } value = PropertyResolver . resolve ( props , value ) ; return value ; }
Return the value of a property .