Java 类net.sf.jasperreports.engine.fill.JRGzipVirtualizer 实例源码

项目:jasperreports    文件:ReportTest.java   
@Test
public void virtualizedReport() throws JRException, NoSuchAlgorithmException, IOException
{
    HashMap<String, Object> params = new HashMap<String, Object>();
    JRGzipVirtualizer virtualizer = new JRGzipVirtualizer(3);
    params.put(JRParameter.REPORT_VIRTUALIZER, virtualizer);

    report.runReport(params);
}
项目:jasperreports    文件:GroupKeepTogetherTest.java   
@Test
public void virtualizedReport() throws JRException, NoSuchAlgorithmException, IOException
{
    HashMap<String, Object> params = new HashMap<String, Object>();
    JRGzipVirtualizer virtualizer = new JRGzipVirtualizer(3);
    params.put(JRParameter.REPORT_VIRTUALIZER, virtualizer);

    report.runReport(params);
}