Class FingerPrint


  • public class FingerPrint
    extends java.lang.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. This information can then be used to log to the logger or to the file.
    • Constructor Summary

      Constructors 
      Constructor Description
      FingerPrint()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<ProductData> getProducts()
      Returns the registered products.
      boolean registerProduct​(ProductData productData)
      Registers a product to be added to the fingerprint or other debugging info.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • productDataSet

        private java.util.Set<ProductData> productDataSet
    • Constructor Detail

      • FingerPrint

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

      • 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 java.util.Collection<ProductData> getProducts()
        Returns the registered products.
        Returns:
        registered products.