18 package org.turro.file;
21 import java.util.Collection;
22 import java.util.logging.Level;
23 import java.util.logging.Logger;
24 import net.sf.jasperreports.engine.JRException;
25 import org.amic.util.file.FileUtil;
26 import org.turro.elephant.context.ElephantContext;
27 import org.turro.file.action.ReportAction;
28 import org.turro.zkoss.print.ReportPrint;
29 import org.turro.zkoss.print.ReportTypeEnum;
44 public void print(String caption, String type) {
47 }
catch (JRException ex) {
53 String ext = FileUtil.getExtension(
file);
54 return "jasper".equalsIgnoreCase(ext);
static String logMsg(String msg)
List< FileAction > actions
void print(String caption, String type)
static boolean isMyType(File file)
static void print(String title, Collection collection, Map parameters, String jasperFile, String defaultFile, String type, String certificateStore)