org.archiviststoolkit.report
Class ReportUtils

java.lang.Object
  extended by org.archiviststoolkit.report.ReportUtils

public class ReportUtils
extends java.lang.Object


Constructor Summary
ReportUtils()
           
 
Method Summary
static void printJasperReport(ReportDestinationProperties reportDestinationProperties, java.util.Collection recordsToPrint, InfiniteProgressPanel progressPanel)
           
static void printReport(ReportDestinationProperties reportDestinationProperties, java.util.Collection collectionForReport, InfiniteProgressPanel progressPanel)
           
static void silentPrint(java.awt.print.PrinterJob printJob, org.pdfbox.pdmodel.PDDocument document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportUtils

public ReportUtils()
Method Detail

printReport

public static void printReport(ReportDestinationProperties reportDestinationProperties,
                               java.util.Collection collectionForReport,
                               InfiniteProgressPanel progressPanel)
                        throws UnsupportedParentComponentException,
                               UnsupportedReportDestination,
                               UnsupportedReportType
Throws:
UnsupportedParentComponentException
UnsupportedReportDestination
UnsupportedReportType

printJasperReport

public static void printJasperReport(ReportDestinationProperties reportDestinationProperties,
                                     java.util.Collection recordsToPrint,
                                     InfiniteProgressPanel progressPanel)
                              throws UnsupportedParentComponentException
Throws:
UnsupportedParentComponentException

silentPrint

public static void silentPrint(java.awt.print.PrinterJob printJob,
                               org.pdfbox.pdmodel.PDDocument document)
                        throws java.awt.print.PrinterException
Throws:
java.awt.print.PrinterException