Package org.eclipse.emf.compare.internal
Class EMFCompareEditMessages
- java.lang.Object
-
- org.eclipse.emf.compare.internal.EMFCompareEditMessages
-
public final class EMFCompareEditMessages extends Object
Utility class to access externalized Strings for this bundle.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetString(String key)Returns a specifiedStringfrom the resource bundle.static StringgetString(String key, Object... arguments)Returns a String from the resource bundle bound with the given arguments.
-
-
-
Method Detail
-
getString
public static String getString(String key)
Returns a specifiedStringfrom the resource bundle.- Parameters:
key- Key of the String we seek.- Returns:
- The String from the resource bundle associated with
key.
-
getString
public static String getString(String key, Object... arguments)
Returns a String from the resource bundle bound 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[])
-
-