Class ProfileNameStatisticsEvent

java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractProductITextEvent
com.itextpdf.commons.actions.AbstractStatisticsEvent
com.itextpdf.pdfoptimizer.statistics.ProfileNameStatisticsEvent
All Implemented Interfaces:
com.itextpdf.commons.actions.IEvent

public class ProfileNameStatisticsEvent extends com.itextpdf.commons.actions.AbstractStatisticsEvent
Class which represents event for defining profile in PdfOptimizer. Only for internal usage.
  • Constructor Details

    • ProfileNameStatisticsEvent

      public ProfileNameStatisticsEvent (PdfOptimizerProfile pdfOptimizerProfile, com.itextpdf.commons.actions.data.ProductData productData)
      Creates an instance of this class based on the ProductData and the profile name.
      Parameters:
      pdfOptimizerProfile - the name of the profile which is used when the event was sent
      productData - is a description of the product which has generated an event
  • Method Details

    • createStatisticsAggregatorFromName

      public com.itextpdf.commons.actions.AbstractStatisticsAggregator createStatisticsAggregatorFromName (String statisticsName)
      Overrides:
      createStatisticsAggregatorFromName in class com.itextpdf.commons.actions.AbstractStatisticsEvent
    • getStatisticsNames

      public List<String> getStatisticsNames()
      Specified by:
      getStatisticsNames in class com.itextpdf.commons.actions.AbstractStatisticsEvent
    • getPdfOptimizerProfile

      public PdfOptimizerProfile getPdfOptimizerProfile()
      Gets name of profile used in PDF document during optimization of which these event was send.
      Returns:
      the name of profile