| java.lang.Object abbot.i18n.Strings
Strings | public class Strings (Code) | | Provides support for loading localized strings. Bundles may be added
by specifying the full resource name or by a simple name located in
com.oculustech.i18n.
Bundles are searched from most- to least-recently added.
|
Field Summary | |
final public static String | DIALOG_SUFFIX Resources whose name ends with this suffix (".dlg") will automatically
be formatted by the dialog formatter. | final public static String | TOOLTIP_SUFFIX Resources whose name ends with this suffix (".tip") will automatically
be formatted by the tooltip formatter. |
DIALOG_SUFFIX | final public static String DIALOG_SUFFIX(Code) | | Resources whose name ends with this suffix (".dlg") will automatically
be formatted by the dialog formatter.
See Also: TextFormat.dialog |
TOOLTIP_SUFFIX | final public static String TOOLTIP_SUFFIX(Code) | | Resources whose name ends with this suffix (".tip") will automatically
be formatted by the tooltip formatter.
See Also: TextFormat.tooltip |
get | public static String get(String key)(Code) | | Returns the localized String for the given key, or the key surrounded
by '#' if no corresponding localized string is found.
|
get | public static String get(String key, boolean optional)(Code) | | Returns the localized string for the given key. If optional is true,
return null, otherwise returns the key surrounded by '#' if no
corresponding localized string is found.
|
get | public static String get(String key, Object[] args)(Code) | | Returns a formatted localized string for the given key and arguments,
or the key if no corresponding localized string is found. Use
java.text.MessageFormat syntax for the format string and
arguments.
|
|
|