| Klasse javax.swing.ProgressMonitorInputStream | 1.2 |
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--javax.swing.ProgressMonitorInputStream
Deklaration
public class ProgressMonitorInputStream
extends java.io.FilterInputStream
Beschreibung
Zeigt einen ProgressMonitor an, während im InputStream gelesen wird.
InputStream in = new BufferedInputStream(
new ProgressMonitorInputStream(
parentComponent,
"Reading " + fileName,
new FileInputStream(fileName)));
Konstruktoren im Detail
-
public ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)
-
Erzeugt ein neues Exemplar.
Methoden im Detail
-
public ProgressMonitor getProgressMonitor()
-
Liefert den erstellten ProgressMonitor.
-
public int read()
-
- Exception: IOException
-
-
public int read(byte[] b)
-
- Exception: IOException
-
-
public int read(byte[] b, int off, int len)
-
- Exception: IOException
-
-
public long skip(long n)
-
- Exception: IOException
-
-
public void close()
-
- Exception: IOException
-
-
public synchronized void reset()
-
- Exception: IOException
-
Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.