| Constructor and Description |
|---|
DefaultCounter() |
| Modifier and Type | Method and Description |
|---|---|
Counter |
getCounter(Class> cls)
Gets a Counter instance for a specific class.
|
void |
onDocumentRead(long size)
This method gets triggered if a document is read.
|
void |
onDocumentWritten(long size)
This method gets triggered if a document is written.
|
public Counter getCounter(Class> cls)
Counter
getCounter in interface Counter
public void onDocumentRead(long size)
Counter
onDocumentRead in interface Counter
size - the length of the document that was read
public void onDocumentWritten(long size)
Counter
onDocumentWritten in interface Counter
size - the length of the document that was written
Copyright © 1998–2017 iText Group NV. All rights reserved.