SystemOutEventCounter
instead.
@Deprecated public class SystemOutCounter extends Object implements ICounter
ICounter
implementation that outputs information about read and written documents to System.out
Modifier and Type | Field and Description |
---|---|
protected String |
name
Deprecated.
The name of the class for which the ICounter was created (or iText if no name is available)
|
Constructor and Description |
---|
SystemOutCounter()
Deprecated.
|
SystemOutCounter(Class> cls)
Deprecated.
|
SystemOutCounter(String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onDocumentRead(long size)
Deprecated.
This method gets triggered if a document is read.
|
void |
onDocumentWritten(long size)
Deprecated.
This method gets triggered if a document is written.
|
protected String name
public SystemOutCounter(String name)
public SystemOutCounter()
public SystemOutCounter(Class> cls)
public void onDocumentRead(long size)
ICounter
onDocumentRead
in interface ICounter
size
- the length of the document that was read
public void onDocumentWritten(long size)
ICounter
onDocumentWritten
in interface ICounter
size
- the length of the document that was written
Copyright © 1998–2023 iText Group NV. All rights reserved.