|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.dsls.Messages
public final class Messages
Utility class to access externalized Strings.
Method Summary | |
---|---|
static java.lang.String |
getString(java.lang.String key)
Returns a specified String from the resource bundle. |
static java.lang.String |
getString(java.lang.String key,
java.lang.Object[] arguments)
Returns a String from the resource bundle binded with the given arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getString(java.lang.String key)
String
from the resource bundle.
key
- Key of the String we seek.
key
.public static java.lang.String getString(java.lang.String key, java.lang.Object[] arguments)
key
- Key of the String we seek.arguments
- Arguments for the String formatting.
String
.MessageFormat.format(String, Object[])
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |