|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Counter
Interface that can be implemented if you want to count the number of documents that are being processed by iText. 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).
Method Summary | |
---|---|
Counter |
getCounter(Class<?> klass)
Gets a Counter instance for a specific class. |
void |
read(long l)
This method gets triggered if a file is read. |
void |
written(long l)
This method gets triggered if a file is written. |
Method Detail |
---|
Counter getCounter(Class<?> klass)
void read(long l)
l
- the length of the file that was writtenvoid written(long l)
l
- the length of the file that was written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |