Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.eclipse.util
Class Messages  view Messages download Messages.java

java.lang.Object
  extended bycom.port80.eclipse.util.Messages

public class Messages
extends java.lang.Object


Field Summary
private static java.util.ResourceBundle bundle
           
private static java.lang.String RESOURCE_BUNDLE
           
 
Constructor Summary
private Messages()
           
 
Method Summary
static java.lang.String format(java.lang.String key, java.lang.Object[] args)
          Returns the formatted message for the given key in the resource bundle.
static java.lang.String getString(java.lang.String key)
          Returns the resource object with the given key in the resource bundle.
static java.lang.String getString(java.lang.String key, java.lang.String def)
          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
 

Field Detail

RESOURCE_BUNDLE

private static final java.lang.String RESOURCE_BUNDLE
See Also:
Constant Field Values

bundle

private static java.util.ResourceBundle bundle
Constructor Detail

Messages

private Messages()
Method Detail

format

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


getString

public static java.lang.String getString(java.lang.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.


getString

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