001: /*
002: * File : $Source: /usr/local/cvs/opencms/src/org/opencms/file/collectors/Messages.java,v $
003: * Date : $Date: 2008-02-27 12:05:43 $
004: * Version: $Revision: 1.12 $
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.collectors;
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.12 $
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.file.collectors.messages";
050:
051: /** Message constant for key in the resource bundle. */
052: public static final String ERR_COLLECTOR_DEFAULTS_INVALID_2 = "ERR_COLLECTOR_DEFAULTS_INVALID_2";
053:
054: /** Message constant for key in the resource bundle. */
055: public static final String ERR_COLLECTOR_NAME_INVALID_1 = "ERR_COLLECTOR_NAME_INVALID_1";
056:
057: /** Message constant for key in the resource bundle. */
058: public static final String ERR_COLLECTOR_PARAM_DATE_FORMAT_SYNTAX_0 = "ERR_COLLECTOR_PARAM_DATE_FORMAT_SYNTAX_0";
059:
060: /** Message constant for key in the resource bundle. */
061: public static final String ERR_COLLECTOR_PARAM_EMPTY_0 = "ERR_COLLECTOR_PARAM_EMPTY_0";
062:
063: /** Message constant for key in the resource bundle. */
064: public static final String ERR_COLLECTOR_PARAM_INVALID_1 = "ERR_COLLECTOR_PARAM_INVALID_1";
065:
066: /** Message constant for key in the resource bundle. */
067: public static final String ERR_COLLECTOR_PARAM_KEY_VALUE_SYNTAX_1 = "ERR_COLLECTOR_PARAM_KEY_VALUE_SYNTAX_1";
068:
069: /** Message constant for key in the resource bundle. */
070: public static final String ERR_COLLECTOR_PARAM_SINGLE_FILE_0 = "ERR_COLLECTOR_PARAM_SINGLE_FILE_0";
071:
072: /** Message constant for key in the resource bundle. */
073: public static final String ERR_UNKNOWN_RESTYPE_1 = "ERR_UNKNOWN_RESTYPE_1";
074:
075: /** Static instance member. */
076: private static final I_CmsMessageBundle INSTANCE = new Messages();
077:
078: /** Message constant for key in the resource bundle. */
079: public static final String LOG_RESOURCE_WITHOUT_NAVPROP_1 = "LOG_RESOURCE_WITHOUT_NAVPROP_1";
080:
081: /** Message constant for key in the resource bundle. */
082: public static final String LOG_RESTYPE_INTID_2 = "LOG_RESTYPE_INTID_2";
083:
084: /**
085: * Hides the public constructor for this utility class.<p>
086: */
087: private Messages() {
088:
089: // hide the constructor
090: }
091:
092: /**
093: * Returns an instance of this localized message accessor.<p>
094: *
095: * @return an instance of this localized message accessor
096: */
097: public static I_CmsMessageBundle get() {
098:
099: return INSTANCE;
100: }
101:
102: /**
103: * Returns the bundle name for this OpenCms package.<p>
104: *
105: * @return the bundle name for this OpenCms package
106: */
107: public String getBundleName() {
108:
109: return BUNDLE_NAME;
110: }
111: }
|