|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emfforms.spi.localization.LocalizationServiceHelper
public final class LocalizationServiceHelper
Helper class for retrieving translated strings.
Method Summary | |
---|---|
static String |
getString(org.osgi.framework.Bundle bundle,
String key)
Return the String for the provided key. |
static String |
getString(Class<?> clazz,
String key)
Return the String for the provided key. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getString(org.osgi.framework.Bundle bundle, String key)
bundle
- The bundle which provides the translated stringskey
- The key of the string
public static String getString(Class<?> clazz, String key)
clazz
- The class which needs a translated stringkey
- The key of the string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |