Package org.eclipse.m2m.atl.engine.emfvm
Class Messages
- java.lang.Object
-
- org.eclipse.m2m.atl.engine.emfvm.Messages
-
public final class Messages extends java.lang.Object
Utility class to access externalized Strings for EMF VM.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getString(java.lang.String key)
Returns a specifiedString
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.
-
-
-
Method Detail
-
getString
public static java.lang.String getString(java.lang.String key)
Returns a specifiedString
from the resource bundle.- Parameters:
key
- Key of the String we seek.- Returns:
- The String from the resource bundle associated with
key
.
-
getString
public 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.- Parameters:
key
- Key of the String we seek.arguments
- Arguments for the String formatting.- Returns:
- formatted
String
. - See Also:
MessageFormat.format(String, Object...)
-
-