|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
org.das2.util.DasProgressMonitorInputStream
public class DasProgressMonitorInputStream
| Field Summary |
|---|
| Fields inherited from class java.io.FilterInputStream |
|---|
in |
| Constructor Summary | |
|---|---|
DasProgressMonitorInputStream(java.io.InputStream in,
ProgressMonitor monitor)
Creates a new instance of DasProgressMonitorInputStream |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list. |
void |
close()
|
long |
getStreamLength()
Getter for property taskSize. |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list. |
void |
setEnableProgressPosition(boolean value)
disable/enable setting of progress position, true by default. |
void |
setStreamLength(long taskSize)
Setter for property taskSize. |
| Methods inherited from class java.io.FilterInputStream |
|---|
available, mark, markSupported, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DasProgressMonitorInputStream(java.io.InputStream in,
ProgressMonitor monitor)
| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException
public int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.FilterInputStreamjava.io.IOExceptionpublic void setEnableProgressPosition(boolean value)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - The listener to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - The listener to remove.public long getStreamLength()
public void setStreamLength(long taskSize)
taskSize - New value of property taskSize.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||