Examples of JRGzipVirtualizer


Examples of net.sf.jasperreports.engine.fill.JRGzipVirtualizer

   *
   * @return the virtualizer
   */
  public JRGzipVirtualizer getGzipVirtualizer() {
    logger.debug("IN");
    JRGzipVirtualizer virtualizer = null;

    SourceBean config = EnginConf.getInstance().getConfig();
    String maxSizeStr = (String)config.getAttribute("VIRTUALIZER.maxSize");
    int maxSize = 2;
    if(maxSizeStr!=null) maxSize = Integer.parseInt(maxSizeStr);
   
   
    logger.debug("Max page cached during virtualization process: " + maxSize);
   
    virtualizer = new JRGzipVirtualizer(maxSize);
    virtualizer.setReadOnly(false);
    logger.debug("OUT");
    return virtualizer;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.