blob: 93803a751e8a299cf0f0bd29c62a31ccda7c0bf8 [file] [log] [blame]
//------------------------------------------------------------------------------
// Copyright (c) 2005, 2006 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 implementation
//------------------------------------------------------------------------------
package org.eclipse.epf.search;
import java.util.ResourceBundle;
import org.eclipse.epf.common.utils.I18nUtil;
/**
* The Search message resource bundle accessor class.
*
* @author Kelvin Low
* @since 1.0
*/
public class SearchResources {
private final static ResourceBundle RESOURCE_BUNDLE = ResourceBundle
.getBundle(SearchResources.class.getPackage().getName()
+ ".Resources"); //$NON-NLS-1$
/**
* Returns the localized string associated with a resource key.
*
* @param key
* A resource key.
* @return A localized string.
*/
public static String getString(String key) {
return I18nUtil.getString(RESOURCE_BUNDLE, key);
}
}