Package org.eclipse.emf.compare
Class EMFCompareMessages
java.lang.Object
org.eclipse.emf.compare.EMFCompareMessages
public final class EMFCompareMessages
extends java.lang.Object
Utility class to access externalized Strings for EMF Compare's core.
-
Method Summary
Modifier and Type Method Description static java.lang.StringgetString(java.lang.String key)Returns a specifiedStringfrom the resource bundle.static java.lang.StringgetString(java.lang.String key, java.lang.Object... arguments)Returns a String from the resource bundle bound with the given arguments.
-
Method Details
-
getString
public static java.lang.String getString(java.lang.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 java.lang.String getString(java.lang.String key, java.lang.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[])
-