Eclipse Platform
2.0

org.eclipse.ui.views.navigator
Class ResourceNavigatorMessages

java.lang.Object
  |
  +--org.eclipse.ui.views.navigator.ResourceNavigatorMessages

public class ResourceNavigatorMessages
extends Object

Utility class which helps managing messages

Since:
2.0

Method Summary
static String format(String key, Object[] args)
          Returns the formatted message for the given key in the resource bundle.
static String getString(String key)
          Returns the resource object with the given key in the resource bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

format

public static String format(String key,
                            Object[] args)
Returns the formatted message for the given key in the resource bundle.

Parameters:
key - the resource name
args - the message arguments
Returns:
the string

getString

public static String getString(String key)
Returns the resource object with the given key in the resource bundle. If there isn't any value under the given key, the key is returned.

Parameters:
key - the resource name
Returns:
the string

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.