| 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_0; |
| public static String CustomWebProjectReferenceWizardFragment_1; |
| public static String WebProjectReferenceDescription; |
| |
| 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 + '!'; |
| } |
| } |
| } |