com.sun.faban.harness.webclient
Interface XMLInputStream.EOFListener
- Enclosing class:
- XMLInputStream
public static interface XMLInputStream.EOFListener
A listener to listen to end-of-file events of XMLInputStream.
The XMLInputStream does not return -1 on end-of-file like other
input streams if the XML is not properly closed. Instead, it will
wait for more data being written to the file. Some applications
want to know if the EOF is hit anyway and this can be achieved by
implementing this interface and register the listener with
the input stream.
Method Summary |
void |
eof()
Gets called if and when eof is hit. |
eof
void eof()
- Gets called if and when eof is hit.