public class SystemOutEventCounter extends EventCounter
EventCounter implementation that outputs event type to System.out
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
The name of the class for which the ICounter was created (or iText if no name is available)
|
| Constructor and Description |
|---|
SystemOutEventCounter() |
SystemOutEventCounter(Class> cls) |
SystemOutEventCounter(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onEvent(IEvent event, IMetaInfo metaInfo)
The method that should be overridden for actual event processing
|
protected String name
public SystemOutEventCounter(String name)
public SystemOutEventCounter()
public SystemOutEventCounter(Class> cls)
protected void onEvent(IEvent event, IMetaInfo metaInfo)
EventCounter
onEvent in class EventCounter
event - IEvent to count
metaInfo - the IMetaInfo that can hold information about event origin
Copyright © 1998–2019 iText Group NV. All rights reserved.