001: /*
002: * File : $Source: /usr/local/cvs/opencms/src/org/opencms/util/Messages.java,v $
003: * Date : $Date: 2008-02-27 12:05:36 $
004: * Version: $Revision: 1.22 $
005: *
006: * This library is part of OpenCms -
007: * the Open Source Content Management System
008: *
009: * Copyright (c) 2002 - 2008 Alkacon Software GmbH (http://www.alkacon.com)
010: *
011: * This library is free software; you can redistribute it and/or
012: * modify it under the terms of the GNU Lesser General Public
013: * License as published by the Free Software Foundation; either
014: * version 2.1 of the License, or (at your option) any later version.
015: *
016: * This library is distributed in the hope that it will be useful,
017: * but WITHOUT ANY WARRANTY; without even the implied warranty of
018: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
019: * Lesser General Public License for more details.
020: *
021: * For further information about Alkacon Software GmbH, please see the
022: * company website: http://www.alkacon.com
023: *
024: * For further information about OpenCms, please see the
025: * project website: http://www.opencms.org
026: *
027: * You should have received a copy of the GNU Lesser General Public
028: * License along with this library; if not, write to the Free Software
029: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
030: */
031:
032: package org.opencms.util;
033:
034: import org.opencms.i18n.A_CmsMessageBundle;
035: import org.opencms.i18n.I_CmsMessageBundle;
036:
037: /**
038: * Convenience class to access the localized messages of this OpenCms package.<p>
039: *
040: * @author Jan Baudisch
041: *
042: * @version $Revision: 1.22 $
043: *
044: * @since 6.0.0
045: */
046: public final class Messages extends A_CmsMessageBundle {
047:
048: /** Name of the used resource bundle. */
049: private static final String BUNDLE_NAME = "org.opencms.util.messages";
050:
051: /** Message constant for key in the resource bundle. */
052: public static final String ERR_CHARSET_ILLEGAL_NAME_1 = "ERR_CHARSET_ILLEGAL_NAME_1";
053:
054: /** Message constant for key in the resource bundle. */
055: public static final String ERR_CHARSET_UNSUPPORTED_1 = "ERR_CHARSET_UNSUPPORTED_1";
056:
057: /** Message constant for key in the resource bundle. */
058: public static final String ERR_CONTROL_STRING_LENGTH_0 = "ERR_CONTROL_STRING_LENGTH_0";
059:
060: /** Message constant for key in the resource bundle. */
061: public static final String ERR_CONTROL_STRING_START_0 = "ERR_CONTROL_STRING_START_0";
062:
063: /** Message constant for key in the resource bundle. */
064: public static final String ERR_CSV_XML_TRANSFORMATION_FAILED_0 = "ERR_CSV_XML_TRANSFORMATION_FAILED_0";
065:
066: /** Message constant for key in the resource bundle. */
067: public static final String ERR_FILE_ARG_ACCESS_1 = "ERR_FILE_ARG_ACCESS_1";
068:
069: /** Message constant for key in the resource bundle. */
070: public static final String ERR_FILE_ARG_EMPTY_1 = "ERR_FILE_ARG_EMPTY_1";
071:
072: /** Message constant for key in the resource bundle. */
073: public static final String ERR_FILE_ARG_IS_FOLDER_1 = "ERR_FILE_ARG_IS_FOLDER_1";
074:
075: /** Message constant for key in the resource bundle. */
076: public static final String ERR_FILE_ARG_NOT_FOUND_1 = "ERR_FILE_ARG_NOT_FOUND_1";
077:
078: /** Message constant for key in the resource bundle. */
079: public static final String ERR_FILE_ARG_NOT_READ_1 = "ERR_FILE_ARG_NOT_READ_1";
080:
081: /** Message constant for key in the resource bundle. */
082: public static final String ERR_FILE_VIEW_SETTINGS_FROZEN_0 = "ERR_FILE_VIEW_SETTINGS_FROZEN_0";
083:
084: /** Message constant for key in the resource bundle. */
085: public static final String ERR_INVALID_CONVERSION_SPEC_1 = "ERR_INVALID_CONVERSION_SPEC_1";
086:
087: /** Message constant for key in the resource bundle. */
088: public static final String ERR_INVALID_DOUBLE_FMT_CHAR_2 = "ERR_INVALID_DOUBLE_FMT_CHAR_2";
089:
090: /** Message constant for key in the resource bundle. */
091: public static final String ERR_INVALID_ETHERNET_ADDRESS_0 = "ERR_INVALID_ETHERNET_ADDRESS_0";
092:
093: /** Message constant for key in the resource bundle. */
094: public static final String ERR_INVALID_ETHERNET_ADDRESS_1 = "ERR_INVALID_ETHERNET_ADDRESS_1";
095:
096: /** Message constant for key in the resource bundle. */
097: public static final String ERR_INVALID_UUID_1 = "ERR_INVALID_UUID_1";
098:
099: /** Message constant for key in the resource bundle. */
100: public static final String ERR_IOERROR_0 = "ERR_IOERROR_0";
101:
102: /** Message constant for key in the resource bundle. */
103: public static final String ERR_MISSING_RESOURCES_1 = "ERR_MISSING_RESOURCES_1";
104:
105: /** Message constant for key in the resource bundle. */
106: public static final String ERR_UNABLE_TO_PARSE_COLOR_2 = "ERR_UNABLE_TO_PARSE_COLOR_2";
107:
108: /** Message constant for key in the resource bundle. */
109: public static final String ERR_UNABLE_TO_PARSE_INT_2 = "ERR_UNABLE_TO_PARSE_INT_2";
110:
111: /** Message constant for key in the resource bundle. */
112: public static final String GUI_FILE_VIEW_NO_PREVIEW_0 = "GUI_FILE_VIEW_NO_PREVIEW_0";
113:
114: /** Message constant for key in the resource bundle. */
115: public static final String GUI_FILEUTIL_FILESIZE_BYTES_1 = "GUI_FILEUTIL_FILESIZE_BYTES_1";
116:
117: /** Message constant for key in the resource bundle. */
118: public static final String GUI_FILEUTIL_FILESIZE_GBYTES_1 = "GUI_FILEUTIL_FILESIZE_GBYTES_1";
119:
120: /** Message constant for key in the resource bundle. */
121: public static final String GUI_FILEUTIL_FILESIZE_KBYTES_1 = "GUI_FILEUTIL_FILESIZE_KBYTES_1";
122:
123: /** Message constant for key in the resource bundle. */
124: public static final String GUI_FILEUTIL_FILESIZE_MBYTES_1 = "GUI_FILEUTIL_FILESIZE_MBYTES_1";
125:
126: /** Static instance member. */
127: private static final I_CmsMessageBundle INSTANCE = new Messages();
128:
129: /** Message constant for key in the resource bundle. */
130: public static final String LOG_CONVERSION_BYTE_FAILED_0 = "LOG_CONVERSION_BYTE_FAILED_0";
131:
132: /** Message constant for key in the resource bundle. */
133: public static final String LOG_ENC_MULTIPART_REQ_ERROR_0 = "LOG_ENC_MULTIPART_REQ_ERROR_0";
134:
135: /** Message constant for key in the resource bundle. */
136: public static final String LOG_ERR_READ_UUID_0 = "LOG_ERR_READ_UUID_0";
137:
138: /** Message constant for key in the resource bundle. */
139: public static final String LOG_FILEVIEW_INDEX_EXPIRE_OK_2 = "LOG_FILEVIEW_INDEX_EXPIRE_OK_2";
140:
141: /** Message constant for key in the resource bundle. */
142: public static final String LOG_MALFORMED_TRANSLATION_RULE_1 = "LOG_MALFORMED_TRANSLATION_RULE_1";
143:
144: /** Message constant for key in the resource bundle. */
145: public static final String LOG_NUM_TRANSLATION_RULES_INITIALIZED_1 = "LOG_NUM_TRANSLATION_RULES_INITIALIZED_1";
146:
147: /** Message constant for key in the resource bundle. */
148: public static final String LOG_PARSE_MULIPART_REQ_FAILED_0 = "LOG_PARSE_MULIPART_REQ_FAILED_0";
149:
150: /** Message constant for key in the resource bundle. */
151: public static final String LOG_PARSING_RUNS_2 = "LOG_PARSING_RUNS_2";
152:
153: /** Message constant for key in the resource bundle. */
154: public static final String LOG_PROPERTY_READING_FAILED_2 = "LOG_PROPERTY_READING_FAILED_2";
155:
156: /** Message constant for key in the resource bundle. */
157: public static final String LOG_READ_UUID_1 = "LOG_READ_UUID_1";
158:
159: /** Message constant for key in the resource bundle. */
160: public static final String LOG_READ_UUID_OLD_1 = "LOG_READ_UUID_OLD_1";
161:
162: /** Message constant for key in the resource bundle. */
163: public static final String LOG_TRANSLATION_MATCH_2 = "LOG_TRANSLATION_MATCH_2";
164:
165: /** Message constant for key in the resource bundle. */
166: public static final String LOG_TRANSLATION_MATCH_3 = "LOG_TRANSLATION_MATCH_3";
167:
168: /** Message constant for key in the resource bundle. */
169: public static final String LOG_WARN_TIDY_FAILURE_0 = "LOG_WARN_TIDY_FAILURE_0";
170:
171: /** Message constant for key in the resource bundle. */
172: public static final String LOG_WRITE_UUID_1 = "LOG_WRITE_UUID_1";
173:
174: /**
175: * Hides the public constructor for this utility class.<p>
176: */
177: private Messages() {
178:
179: // hide the constructor
180: }
181:
182: /**
183: * Returns an instance of this localized message accessor.<p>
184: *
185: * @return an instance of this localized message accessor
186: */
187: public static I_CmsMessageBundle get() {
188:
189: return INSTANCE;
190: }
191:
192: /**
193: * Returns the bundle name for this OpenCms package.<p>
194: *
195: * @return the bundle name for this OpenCms package
196: */
197: public String getBundleName() {
198:
199: return BUNDLE_NAME;
200: }
201: }
|