public class JoinReports
extends java.lang.Object
| Constructor and Description |
|---|
JoinReports() |
| Modifier and Type | Method and Description |
|---|---|
static int |
joinPdf(ProcessReport[] documents,
java.io.OutputStream report)
Join multiple reports into a single generated PDF.
|
static void |
main(java.lang.String[] args)
Join multiple files into a single PDF.
|
public static int joinPdf(ProcessReport[] documents, java.io.OutputStream report) throws AlreadyProcessedException, SetupException, java.io.IOException, OutputLimitationException, TinyException, TemplateParseException, DataSourceException, TagException
documents - The reports to combine. These reports must have had processComplete() called on them. All must
be of the type ProcessPdf. All must not set the output stream (Windward then creates a ByteArrayOutputStream).report - The stream to write the compined reports to. This will be a PDF file.AlreadyProcessedExceptionSetupExceptionjava.io.IOExceptionOutputLimitationExceptionTinyExceptionTemplateParseExceptionDataSourceExceptionTagExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException,
SetupException,
TemplateParseException,
DataSourceException,
TagException,
AlreadyProcessedException,
OutputLimitationException,
TinyException
args - usage: -pdf template.pdf [template.pdf ...] report.pdfjava.io.IOExceptionSetupExceptionTemplateParseExceptionDataSourceExceptionTagExceptionAlreadyProcessedExceptionOutputLimitationExceptionTinyExceptionCopyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software