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, Readable
public class MonitorInputReader
- extends BufferedReader
A BufferedReader
decorator that send all that is read via BufferedReader.read()
to the
attached ParserMonitor
before returning the read int.
- Author:
- redlab_b
Method Summary |
int |
read(char[] c)
Currently the only overridden method that sends data to the given monitor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitorInputReader
public MonitorInputReader(Reader reader,
ParserMonitor monitor)
- Parameters:
reader
- the actual readermonitor
- the monitor
read
public int read(char[] c)
throws IOException
- Currently the only overridden method that sends data to the given monitor.
- Overrides:
read
in class Reader
- Throws:
IOException
Copyright © 2015. All Rights Reserved.