|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.MTJCoreStrings
public class MTJCoreStrings
This class provides the means to internationalize strings that are located in
the org.eclipse.mtj.core package. It sets up a ResourceBundle based on the
file MTJPluginResources.properties in the
org.eclipse.mtj.core package, and allows retrieval of keyed strings from that
bundle.
| Constructor Summary | |
|---|---|
MTJCoreStrings()
|
|
| Method Summary | |
|---|---|
static String |
getBundleString(String key)
Returns the string from the plugin's resource bundle, or null if not found. |
static String |
getString(String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
static String |
getString(String key,
Object[] substitutions)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MTJCoreStrings()
| Method Detail |
|---|
public static String getString(String key)
public static String getString(String key,
Object[] substitutions)
key - substitutions -
public static String getBundleString(String key)
null if not found.
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||