1 11 package org.eclipse.jdt.internal.corext.util; 12 13 import com.ibm.icu.text.MessageFormat; 14 15 20 public class Messages { 21 22 public static String format(String message, Object object) { 23 return MessageFormat.format(message, new Object [] { object}); 24 } 25 26 public static String format(String message, Object [] objects) { 27 return MessageFormat.format(message, objects); 28 } 29 30 private Messages() { 31 } 33 } 34 | Popular Tags |