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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
aggregate
(com.itextpdf.commons.actions.AbstractStatisticsEvent event) Aggregates office file type from the provided event.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.Retrieves Map where keys are office file types and values are the amounts of such input files being converted.
-
Constructor Details
-
PdfOfficeFileTypeStatisticsAggregator
public PdfOfficeFileTypeStatisticsAggregator()CreatesPdfOfficeFileTypeStatisticsAggregator
instance.
-
-
Method Details
-
aggregate
public void aggregate(com.itextpdf.commons.actions.AbstractStatisticsEvent event) Aggregates office file type from the provided event.- Specified by:
-
aggregate
in classcom.itextpdf.commons.actions.AbstractStatisticsAggregator
- Parameters:
-
event
-PdfOfficeFileTypeStatisticsEvent
instance
-
retrieveAggregation
Retrieves Map where keys are office file types and values are the amounts of such input files being converted.- Specified by:
-
retrieveAggregation
in classcom.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 classcom.itextpdf.commons.actions.AbstractStatisticsAggregator
- Parameters:
-
aggregator
-PdfOfficeFileTypeStatisticsAggregator
from which data will be taken.
-