public class PreferencesMessages {
- private static final String RESOURCE_BUNDLE= "net.sourceforge.phpdt.internal.ui.preferences.PreferencesMessages";//$NON-NLS-1$
+ private static final String RESOURCE_BUNDLE = "net.sourceforge.phpdt.internal.ui.preferences.PreferencesMessages";//$NON-NLS-1$
- private static ResourceBundle fgResourceBundle= ResourceBundle.getBundle(RESOURCE_BUNDLE);
+ private static ResourceBundle fgResourceBundle = ResourceBundle
+ .getBundle(RESOURCE_BUNDLE);
private PreferencesMessages() {
}
return '!' + key + '!';
}
}
-
+
public static String getFormattedString(String key, String arg) {
return getFormattedString(key, new String[] { arg });
}
-
+
public static String getFormattedString(String key, String[] args) {
- return MessageFormat.format(getString(key), args);
- }
-
+ return MessageFormat.format(getString(key), args);
+ }
+
}