Package rocket.text.client

Examples of rocket.text.client.IndexedPlaceHolderReplacer


   * @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);
  }
View Full Code Here

TOP

Related Classes of rocket.text.client.IndexedPlaceHolderReplacer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.