<h2>org.das2.util.DasProgressMonitorReadableByteChannel</h2><p></p>
<h2>DasProgressMonitorReadableByteChannel( <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html'>java.nio.channels.ReadableByteChannel</a> in, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> monitor )</h2>
<p>Creates a new instance of DasProgressMonitorInputStream</p>

<hr>
<a name="addPropertyChangeListener"></a>
<h2>addPropertyChangeListener</h2>
addPropertyChangeListener( <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/PropertyChangeListener.html'>java.beans.PropertyChangeListener</a> l ) &rarr; void

<p>Adds a PropertyChangeListener to the listener list.</p>

<h3>Parameters</h3>
l - The listener to add.

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=addPropertyChangeListener&unscoped_q=addPropertyChangeListener">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#addPropertyChangeListener">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>
<hr>
<a name="close"></a>
<h2>close</h2>
close(  ) &rarr; void

<p></p>

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=close&unscoped_q=close">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#close">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>
<hr>
<a name="getStreamLength"></a>
<h2>getStreamLength</h2>
getStreamLength(  ) &rarr; long

<p>Getter for property taskSize.</p>

<h3>Returns:</h3>
Value of property taskSize.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getStreamLength&unscoped_q=getStreamLength">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#getStreamLength">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>
<hr>
<a name="isOpen"></a>
<h2>isOpen</h2>
isOpen(  ) &rarr; boolean

<p></p>

<h3>Returns:</h3>
boolean

<br><br>
<a href="https://github.com/autoplot/dev/search?q=isOpen&unscoped_q=isOpen">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#isOpen">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>
<hr>
<a name="read"></a>
<h2>read</h2>
read( <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html'>java.nio.ByteBuffer</a> dst ) &rarr; int

<p></p>

<h3>Parameters</h3>
dst - a ByteBuffer

<h3>Returns:</h3>
int

<br><br>
<a href="https://github.com/autoplot/dev/search?q=read&unscoped_q=read">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#read">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>
<hr>
<a name="removePropertyChangeListener"></a>
<h2>removePropertyChangeListener</h2>
removePropertyChangeListener( <a href='https://docs.oracle.com/javase/8/docs/api/java/beans/PropertyChangeListener.html'>java.beans.PropertyChangeListener</a> l ) &rarr; void

<p>Removes a PropertyChangeListener from the listener list.</p>

<h3>Parameters</h3>
l - The listener to remove.

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=removePropertyChangeListener&unscoped_q=removePropertyChangeListener">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#removePropertyChangeListener">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>
<hr>
<a name="setEnableProgressPosition"></a>
<h2>setEnableProgressPosition</h2>
setEnableProgressPosition( boolean value ) &rarr; void

<p>disable/enable setting of progress position, true by default.  Transfer 
 rate will still be reported. This is introduced in case another agent 
 (the das2Stream reader, in particular) can set the progress position 
 more accurately.</p>

<h3>Parameters</h3>
value - a boolean

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=setEnableProgressPosition&unscoped_q=setEnableProgressPosition">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#setEnableProgressPosition">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>
<hr>
<a name="setStreamLength"></a>
<h2>setStreamLength</h2>
setStreamLength( long taskSize ) &rarr; void

<p>Setter for property taskSize.</p>

<h3>Parameters</h3>
taskSize - New value of property taskSize.

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=setStreamLength&unscoped_q=setStreamLength">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/DasProgressMonitorReadableByteChannel.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/DasProgressMonitorReadableByteChannel.html#setStreamLength">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/DasProgressMonitorReadableByteChannel.java">[view source]</a>
<br>
<br>