Class PdfOptimizerProductEvent
java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractProductITextEvent
com.itextpdf.commons.actions.AbstractContextBasedITextEvent
com.itextpdf.commons.actions.AbstractProductProcessITextEvent
com.itextpdf.pdfoptimizer.actions.events.PdfOptimizerProductEvent
- All Implemented Interfaces:
-
com.itextpdf.commons.actions.IEvent
public final class PdfOptimizerProductEvent extends com.itextpdf.commons.actions.AbstractProductProcessITextEvent
Class represents events registered in iText pdfOptimizer module.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PdfOptimizerProductEvent
createOptimizePdfEvent
(com.itextpdf.commons.actions.sequence.SequenceId sequenceId, com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo) Creates an optimize-pdf event which is associated with a general identifier and additional metadata.Methods inherited from class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
getConfirmationType, getSequenceId
Methods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
getClassFromContext, setMetaInfo
Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
Field Details
-
OPTIMIZE_PDF
Optimize PDF event type.- See Also:
-
-
Method Details
-
createOptimizePdfEvent
public static PdfOptimizerProductEvent createOptimizePdfEvent(com.itextpdf.commons.actions.sequence.SequenceId sequenceId, com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo) Creates an optimize-pdf event which is associated with a general identifier and additional metadata.- Parameters:
-
sequenceId
- is an identifier associated with the event -
metaInfo
- is an additional meta info - Returns:
- the optimize pdf event
-
getEventType
- Specified by:
-
getEventType
in classcom.itextpdf.commons.actions.AbstractProductProcessITextEvent
-