1 package net.sourceforge.phpdt.phphelp;
3 import java.util.MissingResourceException;
4 import java.util.ResourceBundle;
11 public class PHPHelpPreferenceMessages {
13 private static final String BUNDLE_NAME = "net.sourceforge.phpdt.phphelp.PHPHelpPreferenceMessages"; //$NON-NLS-1$
15 private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
16 .getBundle(BUNDLE_NAME);
21 private PHPHelpPreferenceMessages() {
23 // TODO Auto-generated constructor stub
30 public static String getString(String key) {
31 // TODO Auto-generated method stub
33 return RESOURCE_BUNDLE.getString(key);
34 } catch (MissingResourceException e) {
35 return '!' + key + '!';