Package com.itextpdf.tool.xml.parser.io
Class MonitorInputReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
com.itextpdf.tool.xml.parser.io.MonitorInputReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
A
BufferedReader
decorator that send all that is read via BufferedReader.read()
to the
attached ParserMonitor
before returning the read int.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
read
(char[] c) Currently the only overridden method that sends data to the given monitor.Methods inherited from class java.io.BufferedReader
close, lines, mark, markSupported, read, read, readLine, ready, reset, skip
Methods inherited from class java.io.Reader
nullReader, read, transferTo
-
Field Details
-
monitor
-
-
Constructor Details
-
MonitorInputReader
- Parameters:
reader
- the actual readermonitor
- the monitor
-
-
Method Details
-
read
Currently the only overridden method that sends data to the given monitor.- Overrides:
read
in classReader
- Throws:
IOException
-