* @param values
* An array of values which will be used to replace placeholders
* @return The string after replacements.
*/
public static String format(final String text, final Object[] values) {
final IndexedPlaceHolderReplacer replacer = new IndexedPlaceHolderReplacer();
replacer.setValues(values);
return replacer.execute(text);
}