Java javax.swing ProgressMonitorInputStream fields, constructors, methods, implement or subclass

Example usage for Java javax.swing ProgressMonitorInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing ProgressMonitorInputStream.

The text is from its open source code.

Constructor

ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)
Constructs an object to monitor the progress of an input stream.

Method

intavailable()
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.
voidclose()
Overrides FilterInputStream.close to close the progress monitor as well as the stream.
ProgressMonitorgetProgressMonitor()
Get the ProgressMonitor object being used by this stream.
intread(byte[] b)
Overrides FilterInputStream.read to update the progress monitor after the read.
intread()
Overrides FilterInputStream.read to update the progress monitor after the read.