public class NumberOfPagesStatisticsAggregator extends AbstractStatisticsAggregator
Constructor and Description |
---|
NumberOfPagesStatisticsAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(AbstractStatisticsEvent event)
Aggregates number of pages from the provided event.
|
void |
merge(AbstractStatisticsAggregator aggregator)
Merges data about amounts of ranges of pages from the provided aggregator into this aggregator.
|
Object |
retrieveAggregation()
Retrieves Map where keys are ranges of pages and values are the amounts of such PDF documents.
|
public void aggregate(AbstractStatisticsEvent event)
aggregate
in class AbstractStatisticsAggregator
event
- NumberOfPagesStatisticsEvent
instance
public Object retrieveAggregation()
retrieveAggregation
in class AbstractStatisticsAggregator
Map
public void merge(AbstractStatisticsAggregator aggregator)
merge
in class AbstractStatisticsAggregator
aggregator
- NumberOfPagesStatisticsAggregator
from which data will be taken.
Copyright © 1998–2022 iText Group NV. All rights reserved.