Package com.itextpdf.kernel.pdf
Class FingerPrint
- java.lang.Object
-
- com.itextpdf.kernel.pdf.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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<ProductData>
productDataSet
-
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.
-
-
-
Field Detail
-
productDataSet
private java.util.Set<ProductData> 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.
-
-