1 11 12 package org.eclipse.ui.views.markers.internal; 13 14 import java.text.MessageFormat ; 15 import java.util.ResourceBundle ; 16 17 public class Messages { 18 19 private final static ResourceBundle bundle = ResourceBundle 20 .getBundle(Messages.class.getName()); 21 22 private Messages() { 23 super(); 24 } 25 26 public static String format(String key, Object [] args) { 27 return MessageFormat.format(getString(key), args); 28 } 29 30 public static String getString(String key) { 31 return Util.getString(bundle, key); 32 } 33 } 34 | Popular Tags |