1 import java.util.MissingResourceException;
2 import java.util.ResourceBundle;
5 * Created on Jul 28, 2004
7 * To change the template for this generated file go to
8 * Window>Preferences>Java>Code Generation>Code and Comments
12 * @author Ali Echihabi
14 * To change the template for this generated type comment go to
15 * Window>Preferences>Java>Code Generation>Code and Comments
17 public class Messages {
19 private static final String BUNDLE_NAME = "net.sourceforge.phpeclipse.phpunit.test"; //$NON-NLS-1$
21 private static final ResourceBundle RESOURCE_BUNDLE =
22 ResourceBundle.getBundle(BUNDLE_NAME);
29 // TODO Auto-generated constructor stub
35 public static String getString(String key) {
36 // TODO Auto-generated method stub
38 return RESOURCE_BUNDLE.getString(key);
39 } catch (MissingResourceException e) {
40 return '!' + key + '!';