com.partnersoft.formats.pdf
Class PdfLib

java.lang.Object
  extended by com.partnersoft.formats.pdf.PdfLib
All Implemented Interfaces:
Lib

public final class PdfLib
extends java.lang.Object
implements Lib

Utility functions for PDF files.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Method Summary
 VfsFile concatenate(java.util.List<VfsFile> inputFiles, VfsFile outputFile)
          Concatenates the input files and places the combined result in the output files.
 VfsFile concatenate(VfsFile... pdfFiles)
          Concatenates all files except the last one given, putting the result into the last file given.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

concatenate

public VfsFile concatenate(VfsFile... pdfFiles)
                    throws java.io.IOException
Concatenates all files except the last one given, putting the result into the last file given.

For example:

 PdfLib.concatenate(file1, file2, file3, combinedFile);
 

Throws:
java.io.IOException

concatenate

public VfsFile concatenate(java.util.List<VfsFile> inputFiles,
                           VfsFile outputFile)
                    throws java.io.IOException
Concatenates the input files and places the combined result in the output files.

Throws:
java.io.IOException