Package com.itextpdf.pdfocr.statistics
Class PdfOcrOutputTypeStatisticsEvent
java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractProductITextEvent
com.itextpdf.commons.actions.AbstractStatisticsEvent
com.itextpdf.pdfocr.statistics.PdfOcrOutputTypeStatisticsEvent
- All Implemented Interfaces:
-
com.itextpdf.commons.actions.IEvent
public class PdfOcrOutputTypeStatisticsEvent extends com.itextpdf.commons.actions.AbstractStatisticsEvent
Class which represents an event for specifying type of an ocr processing. For internal usage only.
-
Constructor Summary
ConstructorDescriptionPdfOcrOutputTypeStatisticsEvent
(PdfOcrOutputType type, com.itextpdf.commons.actions.data.ProductData productData) Creates instance of pdfOcr statistics event. -
Method Summary
Modifier and TypeMethodDescriptioncom.itextpdf.commons.actions.AbstractStatisticsAggregator
createStatisticsAggregatorFromName
(String statisticsName) Gets the type of statistic event.Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
Constructor Details
-
PdfOcrOutputTypeStatisticsEvent
public PdfOcrOutputTypeStatisticsEvent(PdfOcrOutputType type, com.itextpdf.commons.actions.data.ProductData productData) Creates instance of pdfOcr statistics event.- Parameters:
-
type
- pdfCcr output type -
productData
- product data
-
-
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
-
getPdfOcrStatisticsEventType
Gets the type of statistic event.- Returns:
- the statistics event type
-