- java.lang.Object
-
- util.ui.Localizer
-
- util.ui.PooledLocalizer
-
@Deprecated(since="4.2.2") public class PooledLocalizer extends Localizer
Deprecated.since 4.2.2 use {@link #util.i18n.PooledLocalizer} instead.localizer using the String pool for all messages. You should use this instead of the standard localizer if your object will be instantiated many times with the same constant strings- Author:
- bananeweizen
-
-
Field Summary
-
Fields inherited from class util.ui.Localizer
I18N_ADD, I18N_BACK, I18N_CANCEL, I18N_CHANNEL, I18N_CHANNELS, I18N_CLEAR_SELECTION, I18N_CLOSE, I18N_COPY, I18N_DEFAULT, I18N_DELETE, I18N_DOWN, I18N_EDIT, I18N_ERROR, I18N_FILE, I18N_HELP, I18N_INFO, I18N_LEFT, I18N_NEXT, I18N_OK, I18N_OPTIONS, I18N_PICTURES, I18N_PROGRAM, I18N_PROGRAMS, I18N_RIGHT, I18N_SELECT, I18N_SELECT_ALL, I18N_SETTINGS, I18N_STANDARD, I18N_TODAY, I18N_TOMORROW, I18N_UP, I18N_WARNING, I18N_YESTERDAY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Localizer
getLocalizerFor(java.lang.Class<?> clazz)
Deprecated.java.lang.String
msg(java.lang.String key, java.lang.String defaultMsg)
Deprecated.Gets a localized message.java.lang.String
msg(java.lang.String key, java.lang.String defaultMsg, boolean warn)
Deprecated.Gets a localized message.java.lang.String
msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object arg1)
Deprecated.Gets a localized message.java.lang.String
msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object[] args)
Deprecated.Gets a localized message.java.lang.String
msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object arg1, java.lang.Object arg2)
Deprecated.Gets a localized message.java.lang.String
msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
Deprecated.Gets a localized message.-
Methods inherited from class util.ui.Localizer
addLocalizerToCache, ellipsis, ellipsisMsg, ellipsisMsg, emptyLocalizerCache, getAllAvailableLocales, getCachedLocalizerFor, getEllipsisLocalization, getLocaleForString, getLocalization, hasMessage, initializeForClass
-
-
-
-
Method Detail
-
getLocalizerFor
public static Localizer getLocalizerFor(java.lang.Class<?> clazz)
Deprecated.
-
msg
public java.lang.String msg(java.lang.String key, java.lang.String defaultMsg)
Deprecated.Description copied from class:Localizer
Gets a localized message.
-
msg
public java.lang.String msg(java.lang.String key, java.lang.String defaultMsg, boolean warn)
Deprecated.Description copied from class:Localizer
Gets a localized message.
-
msg
public java.lang.String msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object arg1)
Deprecated.Description copied from class:Localizer
Gets a localized message.
-
msg
public java.lang.String msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object arg1, java.lang.Object arg2)
Deprecated.Description copied from class:Localizer
Gets a localized message.
-
msg
public java.lang.String msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
Deprecated.Description copied from class:Localizer
Gets a localized message.
-
msg
public java.lang.String msg(java.lang.String key, java.lang.String defaultMsg, java.lang.Object[] args)
Deprecated.Description copied from class:Localizer
Gets a localized message.
-
-