public interface Counter
Implementers may use this method to record actual system usage for licensing purposes (e.g. count the number of documents or the volumne in bytes in the context of a SaaS license).
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.
|
void onDocumentRead(long size)
size
- the length of the document that was read
void onDocumentWritten(long size)
size
- the length of the document that was written
Copyright © 1998–2018 iText Group NV. All rights reserved.