ResourceBundleService.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void | |
| public void | |
| public abstract String |
| listeners | back to summary |
|---|---|
| private List<Runnable> listeners | |
| TranslationService | back to summary |
|---|---|
| public TranslationService() | |
| addListener | back to summary |
|---|---|
| public void addListener(Runnable listener) | |
| notifyListeners | back to summary |
|---|---|
| protected void notifyListeners() Notifies all listeners of a locale change. Concrete implementations must call this method after every locale change. | |
| removeListener | back to summary |
|---|---|
| public void removeListener(Runnable listener) | |
| translate | back to summary |
|---|---|
| public abstract String translate(String key) Looks up a key in the translation service and returns the translate string. | |