public String replacePlaceholders(String value, final Properties properties) {
		Assert.notNull(properties, "'properties' must not be null");
		return replacePlaceholders(value, new PlaceholderResolver() {
			@Override
			public String resolvePlaceholder(String placeholderName) {
				return properties.getProperty(placeholderName);
			}
		});
	}
public String replacePlaceholders ( String value , final Properties properties ) { Assert . notNull ( properties , "'properties' must not be null" ) ; return replacePlaceholders ( value , new PlaceholderResolver ( ) { @ Override public String resolvePlaceholder ( String placeholderName ) { return properties . getProperty ( placeholderName ) ; } } ) ; }
Replaces all placeholders of format {@code ${name}} with the corresponding
property from the supplied {@link Properties}.
@param value the value containing the placeholders to be replaced
@param properties the {@code Properties} to use for replacement
@return the supplied value with placeholders replaced inline