📄 compilereport.java
字号:
package webwork.view.jasperreports;import dori.jasper.engine.JRException;import dori.jasper.engine.JasperCompileManager;public class CompileReport{ public static void main(String[] args) { if (args.length < 1) { System.out.println("Please supply the name of the report(s) source to compile."); System.exit(-1); } try { for (int i = 0; i < args.length; i++) { System.out.println("JasperReports Compiling: " + args[i]); JasperCompileManager.compileReportToFile(args[i]); } } catch (JRException e) { e.printStackTrace(); System.exit(-1); } System.exit(0); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -