| /********************************************************************** |
| * Copyright (c) 2003, 2004 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 |
| **********************************************************************/ |
| package org.eclipse.jst.server.core.internal; |
| /** |
| * |
| */ |
| 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 JavaServerPlugin.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 JavaServerPlugin.getResource(key, arguments); |
| } |
| } |