001: /*
002: * File : $Source: /usr/local/cvs/opencms/src/org/opencms/file/types/Messages.java,v $
003: * Date : $Date: 2008-02-27 12:05:45 $
004: * Version: $Revision: 1.13 $
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.file.types;
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 Alexander Kandzior
041: *
042: * @version $Revision: 1.13 $
043: *
044: * @since 6.0.0
045: */
046: public final class Messages extends A_CmsMessageBundle {
047:
048: /** Message constant for key in the resource bundle. */
049: public static final String ERR_CHTYPE_FOLDER_1 = "ERR_CHTYPE_FOLDER_1";
050:
051: /** Message constant for key in the resource bundle. */
052: public static final String ERR_CONFIG_FROZEN_3 = "ERR_CONFIG_FROZEN_3";
053:
054: /** Message constant for key in the resource bundle. */
055: public static final String ERR_INVALID_RESTYPE_CONFIG_3 = "ERR_INVALID_RESTYPE_CONFIG_3";
056:
057: /** Message constant for key in the resource bundle. */
058: public static final String ERR_INVALID_RESTYPE_CONFIG_NAME_3 = "ERR_INVALID_RESTYPE_CONFIG_NAME_3";
059:
060: /** Message constant for key in the resource bundle. */
061: public static final String ERR_PROCESS_HTML_CONTENT_1 = "ERR_PROCESS_HTML_CONTENT_1";
062:
063: /** Message constant for key in the resource bundle. */
064: public static final String ERR_REPLACE_RESOURCE_FOLDER_1 = "ERR_REPLACE_RESOURCE_FOLDER_1";
065:
066: /** Message constant for key in the resource bundle. */
067: public static final String ERR_RESTORE_FOLDERS_0 = "ERR_RESTORE_FOLDERS_0";
068:
069: /** Message constant for key in the resource bundle. */
070: public static final String ERR_UNKNOWN_RESTYPE_CLASS_4 = "ERR_UNKNOWN_RESTYPE_CLASS_4";
071:
072: /** Message constant for key in the resource bundle. */
073: public static final String ERR_WRITE_FILE_IS_FOLDER_1 = "ERR_WRITE_FILE_IS_FOLDER_1";
074:
075: /** Message constant for key in the resource bundle. */
076: public static final String LOG_ADD_COPY_RESOURCE_4 = "LOG_ADD_COPY_RESOURCE_4";
077:
078: /** Message constant for key in the resource bundle. */
079: public static final String LOG_ADD_DFLT_PROP_2 = "LOG_ADD_DFLT_PROP_2";
080:
081: /** Message constant for key in the resource bundle. */
082: public static final String LOG_ADD_MAPPING_TYPE_2 = "LOG_ADD_MAPPING_TYPE_2";
083:
084: /** Message constant for key in the resource bundle. */
085: public static final String LOG_GET_CONFIGURATION_1 = "LOG_GET_CONFIGURATION_1";
086:
087: /** Message constant for key in the resource bundle. */
088: public static final String LOG_INIT_CONFIGURATION_1 = "LOG_INIT_CONFIGURATION_1";
089:
090: /** Message constant for key in the resource bundle. */
091: public static final String LOG_INIT_CONFIGURATION_3 = "LOG_INIT_CONFIGURATION_3";
092:
093: /** Message constant for key in the resource bundle. */
094: public static final String LOG_INITIALIZE_1 = "LOG_INITIALIZE_1";
095:
096: /** Message constant for key in the resource bundle. */
097: public static final String LOG_PROCESS_COPY_RESOURCES_3 = "LOG_PROCESS_COPY_RESOURCES_3";
098:
099: /** Message constant for key in the resource bundle. */
100: public static final String LOG_RELATION_CREATION_FAILED_1 = "LOG_RELATION_CREATION_FAILED_1";
101:
102: /** Name of the used resource bundle. */
103: private static final String BUNDLE_NAME = "org.opencms.file.types.messages";
104:
105: /** Static instance member. */
106: private static final I_CmsMessageBundle INSTANCE = new Messages();
107:
108: /**
109: * Hides the public constructor for this utility class.<p>
110: */
111: private Messages() {
112:
113: // hide the constructor
114: }
115:
116: /**
117: * Returns an instance of this localized message accessor.<p>
118: *
119: * @return an instance of this localized message accessor
120: */
121: public static I_CmsMessageBundle get() {
122:
123: return INSTANCE;
124: }
125:
126: /**
127: * Returns the bundle name for this OpenCms package.<p>
128: *
129: * @return the bundle name for this OpenCms package
130: */
131: public String getBundleName() {
132:
133: return BUNDLE_NAME;
134: }
135: }
|