blob: 38eb5eee99d32197a195ae94bca27f3faaabe5d6 [file] [log] [blame]
package org.eclipse.jst.server.ui;
/**********************************************************************
* Copyright (c) 2003 IBM Corporation and others.
* All rights reserved.   This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
 *
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
import org.eclipse.jst.server.internal.ui.JavaServerUIPlugin;
/**
*
*/
public class JavaResources {
/**
* Returns the translated String found with the given key.
*
* @param key java.lang.String
* @return java.lang.String
*/
public static String getResource(String key) {
return JavaServerUIPlugin.getResource(key);
}
/**
* Returns the translated String found with the given key,
* and formatted with the given arguments using java.text.MessageFormat.
*
* @param key java.lang.String
* @param arguments java.lang.Object[]
* @return java.lang.String
*/
public static String getResource(String key, Object[] arguments) {
return JavaServerUIPlugin.getResource(key, arguments);
}
}