Package com.itextpdf.text.log
Class NoOpCounter
- java.lang.Object
-
- com.itextpdf.text.log.NoOpCounter
-
-
Constructor Summary
Constructors Constructor Description NoOpCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Counter
getCounter(java.lang.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
-
getCounter
public Counter getCounter(java.lang.Class<?> klass)
Description copied from interface:Counter
Gets a Counter instance for a specific class.- Specified by:
getCounter
in interfaceCounter
- Parameters:
klass
- The Class asking for the Counter- Returns:
- the Counter instance
- See Also:
Counter.getCounter(java.lang.Class)
-
read
public void read(long l)
Description copied from interface:Counter
This method gets triggered if a file is read.- Specified by:
read
in interfaceCounter
- Parameters:
l
- the length of the file that was written- See Also:
Counter.read(long)
-
written
public void written(long l)
Description copied from interface:Counter
This method gets triggered if a file is written.- Specified by:
written
in interfaceCounter
- Parameters:
l
- the length of the file that was written- See Also:
Counter.written(long)
-
-