java.lang.Object |
↳ |
java.io.InputStream |
|
↳ |
java.io.FileInputStream |
|
|
↳ |
fm.audiobox.core.utils.ProgressInputStream |
Class Overview
Created based on http://stackoverflow.com/questions/1339437/inputstream-or-reader-wrapper-for-progress-reporting
Constants
public
static
final
String
TOTAL_NUM_BYTE_READ
Constant Value:
"totalNumBytesRead"
Public Constructors
public
ProgressInputStream
(File in, long maxNumBytes)
Public Methods
public
void
addPropertyChangeListener
(PropertyChangeListener l)
public
long
getMaxNumBytes
()
public
long
getTotalNumBytesRead
()
public
void
mark
(int readlimit)
public
boolean
markSupported
()
public
int
read
(byte[] b)
public
int
read
(byte[] b, int off, int len)
public
void
removePropertyChangeListener
(PropertyChangeListener l)
public
long
skip
(long n)