|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emfforms.internal.localization.EMFFormsLocalizationServiceImpl
public class EMFFormsLocalizationServiceImpl
Service Implementation for retrieving translated Strings.
Constructor Summary | |
---|---|
EMFFormsLocalizationServiceImpl()
|
Method Summary | |
---|---|
String |
getString(org.osgi.framework.Bundle bundle,
String key)
Return the String for the provided key. |
String |
getString(Class<?> clazz,
String key)
Return the String for the provided key. |
boolean |
hasKey(org.osgi.framework.Bundle bundle,
String key)
Return whether the key in question is available. |
boolean |
hasKey(Class<?> clazz,
String key)
Return whether the key in question is available. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EMFFormsLocalizationServiceImpl()
Method Detail |
---|
public String getString(Class<?> clazz, String key)
getString
in interface EMFFormsLocalizationService
clazz
- The class which needs a translated stringkey
- The key of the string
EMFFormsLocalizationService.getString(java.lang.Class,
java.lang.String)
public String getString(org.osgi.framework.Bundle bundle, String key)
getString
in interface EMFFormsLocalizationService
bundle
- The bundle which provides the translated stringskey
- The key of the string
EMFFormsLocalizationService.getString(org.osgi.framework.Bundle,
java.lang.String)
public boolean hasKey(org.osgi.framework.Bundle bundle, String key)
hasKey
in interface EMFFormsLocalizationService
bundle
- The bundle in which to search for the keykey
- The key to search
EMFFormsLocalizationService.hasKey(org.osgi.framework.Bundle,
java.lang.String)
public boolean hasKey(Class<?> clazz, String key)
hasKey
in interface EMFFormsLocalizationService
clazz
- The class in whose bundle to search for the keykey
- The key to search
EMFFormsLocalizationService.hasKey(java.lang.Class, java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |