KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencms > i18n > Messages


1 /*
2  * File : $Source: /usr/local/cvs/opencms/src/org/opencms/i18n/Messages.java,v $
3  * Date : $Date: 2005/09/11 13:27:06 $
4  * Version: $Revision: 1.10 $
5  *
6  * This library is part of OpenCms -
7  * the Open Source Content Mananagement System
8  *
9  * Copyright (c) 2005 Alkacon Software GmbH (http://www.alkacon.com)
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Lesser General Public
13  * License as published by the Free Software Foundation; either
14  * version 2.1 of the License, or (at your option) any later version.
15  *
16  * This library is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * Lesser General Public License for more details.
20  *
21  * For further information about Alkacon Software GmbH, please see the
22  * company website: http://www.alkacon.com
23  *
24  * For further information about OpenCms, please see the
25  * project website: http://www.opencms.org
26  *
27  * You should have received a copy of the GNU Lesser General Public
28  * License along with this library; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30  */

31
32 package org.opencms.i18n;
33
34 /**
35  * Convenience class to access the localized messages of this OpenCms package.<p>
36  *
37  * @author Achim Westermann
38  *
39  * @version $Revision: 1.10 $
40  *
41  * @since 6.0.0
42  */

43 public final class Messages extends A_CmsMessageBundle {
44
45     /** Message constant for key in the resource bundle. */
46     public static final String JavaDoc ERR_CANT_FIND_RESOURCE_FOR_BUNDLE_2 = "ERR_CANT_FIND_RESOURCE_FOR_BUNDLE_2";
47
48     /** Message constant for key in the resource bundle. */
49     public static final String JavaDoc ERR_ENCODING_ISSUES_1 = "ERR_ENCODING_ISSUES_1";
50
51     /** Message constant for key in the resource bundle. */
52     public static final String JavaDoc ERR_MESSAGE_BUNDLE_NOT_INITIALIZED_1 = "ERR_MESSAGE_BUNDLE_NOT_INITIALIZED_1";
53
54     /** Message constant for key in the resource bundle. */
55     public static final String JavaDoc ERR_MULTIMSG_EMPTY_LIST_0 = "ERR_MULTIMSG_EMPTY_LIST_0";
56
57     /** Message constant for key in the resource bundle. */
58     public static final String JavaDoc ERR_MULTIMSG_LOCALE_DOES_NOT_MATCH_2 = "ERR_MULTIMSG_LOCALE_DOES_NOT_MATCH_2";
59
60     /** Message constant for key in the resource bundle. */
61     public static final String JavaDoc ERR_READ_ENCODING_PROP_1 = "ERR_READ_ENCODING_PROP_1";
62
63     /** Message constant for key in the resource bundle. */
64     public static final String JavaDoc ERR_RESOURCE_BUNDLE_NOT_FOUND_1 = "ERR_RESOURCE_BUNDLE_NOT_FOUND_1";
65
66     /** Message constant for key in the resource bundle. */
67     public static final String JavaDoc ERR_UNSUPPORTED_REQUEST_ENCODING_1 = "ERR_UNSUPPORTED_REQUEST_ENCODING_1";
68
69     /** Message constant for key in the resource bundle. */
70     public static final String JavaDoc ERR_UNSUPPORTED_VM_ENCODING_1 = "ERR_UNSUPPORTED_VM_ENCODING_1";
71
72     /** Message constant for key in the resource bundle. */
73     public static final String JavaDoc INIT_I18N_CONFIG_ADD_LOCALE_1 = "INIT_I18N_CONFIG_ADD_LOCALE_1";
74
75     /** Message constant for key in the resource bundle. */
76     public static final String JavaDoc INIT_I18N_CONFIG_DEFAULT_LOCALE_2 = "INIT_I18N_CONFIG_DEFAULT_LOCALE_2";
77
78     /** Message constant for key in the resource bundle. */
79     public static final String JavaDoc INIT_I18N_CONFIG_LOC_HANDLER_1 = "INIT_I18N_CONFIG_LOC_HANDLER_1";
80
81     /** Message constant for key in the resource bundle. */
82     public static final String JavaDoc INIT_I18N_CONFIG_START_0 = "INIT_I18N_CONFIG_START_0";
83
84     /** Message constant for key in the resource bundle. */
85     public static final String JavaDoc INIT_I18N_CONFIG_VFSACCESS_0 = "INIT_I18N_CONFIG_VFSACCESS_0";
86
87     /** Message constant for key in the resource bundle. */
88     public static final String JavaDoc INIT_I18N_DEFAULT_LOCALE_2 = "INIT_I18N_DEFAULT_LOCALE_2";
89
90     /** Message constant for key in the resource bundle. */
91     public static final String JavaDoc INIT_I18N_KEEPING_DEFAULT_LOCALE_1 = "INIT_I18N_KEEPING_DEFAULT_LOCALE_1";
92
93     /** Message constant for key in the resource bundle. */
94     public static final String JavaDoc LOG_CREATE_LOCALE_FAILED_1 = "LOG_CREATE_LOCALE_FAILED_1";
95
96     /** Message constant for key in the resource bundle. */
97     public static final String JavaDoc LOG_ENCODING_NOT_FOUND_1 = "LOG_ENCODING_NOT_FOUND_1";
98
99     /** Message constant for key in the resource bundle. */
100     public static final String JavaDoc LOG_LOCALE_MANAGER_FLUSH_CACHE_1 = "LOG_LOCALE_MANAGER_FLUSH_CACHE_1";
101
102     /** Message constant for key in the resource bundle. */
103     public static final String JavaDoc LOG_LOCALE_NOT_FOUND_1 = "LOG_LOCALE_NOT_FOUND_1";
104
105     /** Message constant for key in the resource bundle. */
106     public static final String JavaDoc LOG_MESSAGE_KEY_FOUND_2 = "LOG_MESSAGE_KEY_FOUND_2";
107
108     /** Message constant for key in the resource bundle. */
109     public static final String JavaDoc LOG_MESSAGE_KEY_FOUND_CACHED_2 = "LOG_MESSAGE_KEY_FOUND_CACHED_2";
110
111     /** Message constant for key in the resource bundle. */
112     public static final String JavaDoc LOG_MESSAGE_KEY_NOT_FOUND_1 = "LOG_MESSAGE_KEY_NOT_FOUND_1";
113
114     /** Message constant for key in the resource bundle. */
115     public static final String JavaDoc LOG_RESOLVE_MESSAGE_KEY_1 = "LOG_RESOLVE_MESSAGE_KEY_1";
116
117     /** Message constant for key in the resource bundle. */
118     public static final String JavaDoc LOG_UNABLE_TO_SET_DEFAULT_LOCALE_2 = "LOG_UNABLE_TO_SET_DEFAULT_LOCALE_2";
119
120     /** Name of the used resource bundle. */
121     private static final String JavaDoc BUNDLE_NAME = "org.opencms.i18n.messages";
122
123     /** Static instance member. */
124     private static final I_CmsMessageBundle INSTANCE = new Messages();
125
126     /**
127      * Hides the public constructor for this utility class.<p>
128      */

129     private Messages() {
130
131         // hide the constructor
132
}
133
134     /**
135      * Returns an instance of this localized message accessor.<p>
136      *
137      * @return an instance of this localized message accessor
138      */

139     public static I_CmsMessageBundle get() {
140
141         return INSTANCE;
142     }
143
144     /**
145      * Returns the bundle name for this OpenCms package.<p>
146      *
147      * @return the bundle name for this OpenCms package
148      */

149     public String JavaDoc getBundleName() {
150
151         return BUNDLE_NAME;
152     }
153
154 }
155
Popular Tags