1 6 package de.uka.ipd.coverage.natures.all_uses; 7 8 import java.util.MissingResourceException ; 9 import java.util.ResourceBundle ; 10 11 15 public class Messages { 16 private static final String BUNDLE_NAME = "de.uka.ipd.coverage.natures.all_uses.messages"; 18 private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle 19 .getBundle(BUNDLE_NAME); 20 21 private Messages() { 22 } 23 24 public static String getString(String key) { 25 try { 27 return RESOURCE_BUNDLE.getString(key); 28 } catch (MissingResourceException e) { 29 return '!' + key + '!'; 30 } 31 } 32 } 33 | Popular Tags |