Class FingerPrint

java.lang.Object
com.itextpdf.kernel.pdf.FingerPrint

public class FingerPrint extends Object
Data container for debugging information. This class keeps a record of every registered product that was involved in the creation of a certain PDF file.
  • Constructor Details

    • FingerPrint

      public FingerPrint()
      Default constructor. Initializes the productDataSet.
  • Method Details

    • disableFingerPrint

      public void disableFingerPrint()
      This method is used to disable iText fingerprint. IText fingerPrint can only be disabled if all products are in non AGPL mode.
    • isFingerPrintEnabled

      public boolean isFingerPrintEnabled()
      This method is used to check iText fingerprint state.
      Returns:
      true if fingerprint will be added to the document
    • registerProduct

      public boolean registerProduct (ProductData productData)
      Registers a product to be added to the fingerprint or other debugging info.
      Parameters:
      productData - ProductData to be added
      Returns:
      true if the fingerprint did not already contain the specified element
    • getProducts

      public Collection<ProductData> getProducts()
      Returns the registered products.
      Returns:
      registered products.