public class URLI18nService extends AbstractDisposable implements II18nService
See I18nRegistry
for details about the file name pattern.
IDisposable.DisposableUtil, IDisposable.DisposeException, IDisposable.Listener
ID
Constructor and Description |
---|
URLI18nService() |
Modifier and Type | Method and Description |
---|---|
void |
append(URL url)
Append the translations.
|
String |
getValue(String i18nKey,
Locale locale)
Returns the i18nKey for the given key and locale.
|
protected void |
internalDispose()
Should be overridden by subclasses to dispose their content.
|
addDisposeListener, canDispose, checkDisposed, dispose, getDisposeListeners, isDisposed, isDisposing, notifyDisposeListeners, removeDisposeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDisposeListener, dispose, isDisposed, isDisposing, removeDisposeListener
public URLI18nService()
public String getValue(String i18nKey, Locale locale)
II18nService
getValue
in interface II18nService
i18nKey
- the i18n keylocale
- the localeprotected void internalDispose()
AbstractDisposable
internalDispose
in class AbstractDisposable
Copyright © 2013-2016 Loetz GmbH&Co.KG - Heidelberg - Germany, Eclipse OSBP Project, OS.bee