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 Summary
ConstructorDescriptionProfileNameStatisticsEvent
(PdfOptimizerProfile pdfOptimizerProfile, com.itextpdf.commons.actions.data.ProductData productData) Creates an instance of this class based on theProductData
and the profile name. -
Method Summary
Modifier and TypeMethodDescriptioncom.itextpdf.commons.actions.AbstractStatisticsAggregator
createStatisticsAggregatorFromName
(String statisticsName) Gets name of profile used in PDF document during optimization of which these event was send.Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
Constructor Details
-
ProfileNameStatisticsEvent
public ProfileNameStatisticsEvent(PdfOptimizerProfile pdfOptimizerProfile, com.itextpdf.commons.actions.data.ProductData productData) Creates an instance of this class based on theProductData
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 classcom.itextpdf.commons.actions.AbstractStatisticsEvent
-
getStatisticsNames
- Specified by:
-
getStatisticsNames
in classcom.itextpdf.commons.actions.AbstractStatisticsEvent
-
getPdfOptimizerProfile
Gets name of profile used in PDF document during optimization of which these event was send.- Returns:
- the name of profile
-