Package com.itextpdf.text.log
Class SysoCounter
java.lang.Object
com.itextpdf.text.log.SysoCounter
- All Implemented Interfaces:
Counter
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty SysoCounter constructor.protected
SysoCounter
(Class<?> klass) Constructs a SysoCounter for a specific class. -
Method Summary
Modifier and TypeMethodDescriptiongetCounter
(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.
-
Field Details
-
name
The name of the class for which the Counter was created (or iText if no name is available)
-
-
Constructor Details
-
SysoCounter
public SysoCounter()Empty SysoCounter constructor. -
SysoCounter
Constructs a SysoCounter for a specific class.- Parameters:
klass
-
-
-
Method Details
-
getCounter
Description copied from interface:Counter
Gets a Counter instance for a specific class.- Specified by:
getCounter
in interfaceCounter
- See Also:
-
read
public void read(long l) Description copied from interface:Counter
This method gets triggered if a file is read. -
written
public void written(long l) Description copied from interface:Counter
This method gets triggered if a file is written.
-