1 package eu
.etaxonomy
.taxeditor
;
3 import java
.util
.MissingResourceException
;
4 import java
.util
.ResourceBundle
;
6 public class Messages
{
7 private static final String BUNDLE_NAME
= "eu.etaxonomy.taxeditor.messages"; //$NON-NLS-1$
9 private static final ResourceBundle RESOURCE_BUNDLE
= ResourceBundle
10 .getBundle(BUNDLE_NAME
);
15 public static String
getString(String key
) {
16 // TODO Auto-generated method stub
18 return RESOURCE_BUNDLE
.getString(key
);
19 } catch (MissingResourceException e
) {
20 return '!' + key
+ '!';