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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Optimize PDF event type.
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

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

  • 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

      public String getEventType()
      Specified by:
      getEventType in class com.itextpdf.commons.actions.AbstractProductProcessITextEvent