1 11 package org.eclipse.jdt.internal.ui.macbundler; 12 13 import java.util.*; 14 import java.util.ResourceBundle ; 15 16 17 public class Util { 18 19 private static final String RESOURCE_BUNDLE= "org.eclipse.jdt.internal.ui.macbundler.BundleMessages"; private static ResourceBundle fgResourceBundle= ResourceBundle.getBundle(RESOURCE_BUNDLE); 21 22 23 static String getString(String key) { 24 try { 25 return fgResourceBundle.getString(key); 26 } catch (MissingResourceException e) { 27 return "!" + key + "!"; } 29 } 30 } 31 | Popular Tags |