java.lang.Object
net.atthegate.server.service.pdf.PDF

public class PDF extends Object
Used to create PDF objects that represent PDF documents.
  • Field Details

  • Constructor Details

    • PDF

      public PDF() throws Exception
      The default constructor - use when reading PDF files.
      Throws:
      Exception
    • PDF

      public PDF(OutputStream os) throws Exception
      Creates a PDF object that represents a PDF document.
      Parameters:
      os - the associated output stream.
      Throws:
      Exception
    • PDF

      public PDF(OutputStream os, int compliance) throws Exception
      Creates a PDF object that represents a PDF document. Use this constructor to create PDF/A compliant PDF documents. Please note: PDF/A compliance requires all fonts to be embedded in the PDF.
      Parameters:
      os - the associated output stream.
      compliance - must be: Compliance.PDF_A_1B
      Throws:
      Exception
  • Method Details