/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Zend Technologies
*******************************************************************************/
package org2.eclipse.php.internal.core;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import org.eclipse.osgi.util.NLS;
public final class CoreMessages extends NLS {
private static final String BUNDLE_NAME = "org2.eclipse.php.internal.core.CoreMessages";//$NON-NLS-1$
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
.getBundle(BUNDLE_NAME);
private static ResourceBundle fResourceBundle;
private CoreMessages() {
}
public static ResourceBundle getResourceBundle() {
try {
if (fResourceBundle == null)
fResourceBundle = ResourceBundle.getBundle(BUNDLE_NAME);
} catch (MissingResourceException x) {
fResourceBundle = null;
}
return fResourceBundle;
}
public static String getString(String key) {
try {
return RESOURCE_BUNDLE.getString(key);
} catch (MissingResourceException e) {
return ""; //$NON-NLS-1$
}
}
public static String PHPCorePlugin_initializingPHPToolkit;
public static String PHPCorePlugin_initializingSearchEngine;
public static String PHPTodoTaskAstParser_0;
}