Reverted to rev 1.4 keys had been mistakenly deleted.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / src / net / sourceforge / phpdt / externaltools / launchConfigurations / ExternalToolsLaunchConfigurationMessages.java
1 package net.sourceforge.phpdt.externaltools.launchConfigurations;
2
3 /**********************************************************************
4  Copyright (c) 2000, 2002 IBM Corp.  All rights reserved.
5  This file is made available under the terms of the Common Public License v1.0
6  which accompanies this distribution, and is available at
7  http://www.eclipse.org/legal/cpl-v10.html
8  **********************************************************************/
9
10 import java.util.MissingResourceException;
11 import java.util.ResourceBundle;
12
13 public class ExternalToolsLaunchConfigurationMessages {
14
15         private static final String BUNDLE_NAME = "net.sourceforge.phpdt.externaltools.launchConfigurations.ExternalToolsLaunchConfigurationMessages"; //$NON-NLS-1$
16
17         private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
18                         .getBundle(BUNDLE_NAME);
19
20         private ExternalToolsLaunchConfigurationMessages() {
21         }
22
23         public static String getString(String key) {
24                 try {
25                         return RESOURCE_BUNDLE.getString(key);
26                 } catch (MissingResourceException e) {
27                         return '!' + key + '!';
28                 }
29         }
30 }