org.eclipse.datatools.enablement.sybase
Class Messages
java.lang.Object
org.eclipse.osgi.util.NLS
org.eclipse.datatools.enablement.sybase.Messages
public class Messages
- extends org.eclipse.osgi.util.NLS
Utility class which helps managing 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 org.eclipse.osgi.util.NLS |
bind, bind, bind, initializeMessages |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plugin_internal_error
public static java.lang.String plugin_internal_error
PrimaryKey_folder_name
public static java.lang.String PrimaryKey_folder_name
UniqueConstraint_folder_name
public static java.lang.String UniqueConstraint_folder_name
CheckConstraint_folder_name
public static java.lang.String CheckConstraint_folder_name
ForeignKey_folder_name
public static java.lang.String ForeignKey_folder_name
Parameters_folder_name
public static java.lang.String Parameters_folder_name
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.
- Parameters:
key
- the resource nameargs
- the message arguments
- Returns:
- the string
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.
- Parameters:
key
- the resource name
- Returns:
- the string
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.
- Parameters:
key
- the resource namedef
- the default value
- Returns:
- the string