?? localstrings.java
字號:
/*
* Copyright (C) 2004 Erik Swenson - eswenson@opensourcesoft.net
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
package org.efs.openreports.util;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class LocalStrings
{
public static final String ERROR_REPORT_EMPTY = "error.report.empty";
public static final String ERROR_VALIDATION_NOSUPPORTED = "error.validation.notsupported";
public static final String ERROR_HTMLEXPORT_NOSUPPORTED = "error.htmlexport.notsupported";
public static final String ERROR_EXPORTTYPE_REQUIRED = "error.exporttype.required";
public static final String ERROR_INVALID_PASSWORD = "error.invalid.password";
public static final String ERROR_LOGIN_INCOMPLETE = "error.login.incomplete";
public static final String ERROR_LOGIN_INVALID = "error.login.invalid";
public static final String ERROR_REPORT_NOTAUTHORIZED = "error.report.notauthorized";
public static final String ERROR_REPORT_INVALID = "error.report.invalid";
public static final String ERROR_REPORTGROUP_NOTAUTHORIZED = "error.reportgroup.notauthorized";
public static final String ERROR_EMAILADDRESS_REQUIRED = "error.emailaddress.required";
public static final String ERROR_DATEANDTIME_REQUIRED = "error.dateandtime.required";
public static final String ERROR_NOTLOGGEDIN = "error.notloggedin";
public static final String ERROR_NOTAUTHORIZED = "error.notauthorized";
public static final String ERROR_CHARTQUERY_INVALID = "error.chartquery.invalid";
public static final String ERROR_TESTING_CONNECTION = "error.testing.connection";
public static final String ERROR_PARAMETER_REQUIRED = "error.parameter.required";
public static final String ERROR_CHART_DELETION = "error.chart.deletion";
public static final String ERROR_DATASOURCE_DELETION = "error.datasource.deletion";
public static final String ERROR_GROUP_DELETION = "error.group.deletion";
public static final String ERROR_PARAMETER_DELETION = "error.parameter.deletion";
public static final String ERROR_PARAMETER_NOTFOUND = "error.parameter.notfound";
public static final String ERROR_REPORT_DELETION = "error.report.deletion";
public static final String MESSAGE_SCHEDULE_SUCCESSFUL = "message.schedule.successful";
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
.getBundle("LocalStrings");
public static String getString(String key)
{
try
{
return RESOURCE_BUNDLE.getString(key);
}
catch (MissingResourceException e)
{
return '!' + key + '!';
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -