Lines Matching refs:I18n
25 * $Id: I18n.java,v 1.3 2008/06/25 05:41:41 qcheng Exp $
45 * The <code>I18n</code> class provides methods for applications and services
48 * In order for <code>I18n</code> to internationalize messages, it needs to
50 * <code>I18n</code> supports two techniques by which applications and
66 * <code>I18n</code> class be instantiated by calling the static
71 * Alternatively services and application can instantiate <code>I18n</code>
80 public class I18n {
85 /* Static varibale that holds all the I18n objects */
105 protected I18n(String serviceName) {
113 // %%% Hack to get around cyclic dependency on I18n
114 // and other components that call I18n
120 * Method to get an instance of I18n object that has been either previously
126 * @return I18n object
129 public static I18n getInstance(String serviceName) {
133 I18n i18nobj = null;
135 if ((i18nobj = (I18n) i18nMap.get(serviceName)) == null) {
136 i18nobj = new I18n(serviceName);