Package rocket.text.client

Examples of rocket.text.client.IndexedPlaceHolderReplacer.execute()


   * @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);
  }

  /**
   * Builds a new string substituting the placeholders within text with values
   * from values. The placeholders found in the text are used as keys to the
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.