Class PdfOfficeFileTypeStatisticsAggregator

java.lang.Object
com.itextpdf.commons.actions.AbstractStatisticsAggregator
com.itextpdf.pdfoffice.statistics.PdfOfficeFileTypeStatisticsAggregator

public class PdfOfficeFileTypeStatisticsAggregator extends com.itextpdf.commons.actions.AbstractStatisticsAggregator
Statistics aggregator which aggregates types of office files to be converted to PDF documents.
  • Constructor Details

  • Method Details

    • aggregate

      public void aggregate (com.itextpdf.commons.actions.AbstractStatisticsEvent event)
      Aggregates office file type from the provided event.
      Specified by:
      aggregate in class com.itextpdf.commons.actions.AbstractStatisticsAggregator
      Parameters:
      event - PdfOfficeFileTypeStatisticsEvent instance
    • retrieveAggregation

      public Object retrieveAggregation()
      Retrieves Map where keys are office file types and values are the amounts of such input files being converted.
      Specified by:
      retrieveAggregation in class com.itextpdf.commons.actions.AbstractStatisticsAggregator
      Returns:
      aggregated Map
    • merge

      public void merge (com.itextpdf.commons.actions.AbstractStatisticsAggregator aggregator)
      Merges data about amounts of office file types being converted from the provided aggregator into this aggregator.
      Specified by:
      merge in class com.itextpdf.commons.actions.AbstractStatisticsAggregator
      Parameters:
      aggregator - PdfOfficeFileTypeStatisticsAggregator from which data will be taken.