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