Package com.itextpdf.kernel.pdf
Class FingerPrint
java.lang.Object
com.itextpdf.kernel.pdf.FingerPrint
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is used to disable iText fingerprint.Returns the registered products.boolean
This method is used to check iText fingerprint state.boolean
registerProduct
(ProductData productData) Registers a product to be added to the fingerprint or other debugging info.
-
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
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
Returns the registered products.- Returns:
- registered products.
-