blob: 4add98cc0992defec4e9239306d7da4ddbfff766 [file] [log] [blame]
package org.eclipse.jst.servlet.ui.internal;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import org.eclipse.osgi.util.NLS;
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.jst.servlet.ui.internal.messages"; //$NON-NLS-1$
public static String DeploymentAssembly;
public static String WebDeploymentAssembly;
public static String ManifestEntries;
public static String CustomWebProjectReferenceWizardFragment;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
private Messages() {
}
public static String getString(String key) {
try {
return RESOURCE_BUNDLE.getString(key);
} catch (MissingResourceException e) {
return '!' + key + '!';
}
}
}