Example usage for Java javax.swing ProgressMonitorInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in) Constructs an object to monitor the progress of an input stream. |
int | available() Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. |
void | close() Overrides FilterInputStream.close to close the progress monitor as well as the stream. |
ProgressMonitor | getProgressMonitor() Get the ProgressMonitor object being used by this stream. |
int | read(byte[] b) Overrides FilterInputStream.read to update the progress monitor after the read. |
int | read() Overrides FilterInputStream.read to update the progress monitor after the read. |