public class MonitoredFileInputStream extends FileInputStream
| Constructor and Description |
|---|
MonitoredFileInputStream(File file) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesRead() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
int |
updateBytesRead(int byteCount) |
available, close, finalize, getChannel, getFD, skipmark, markSupported, resetpublic MonitoredFileInputStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic int read()
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FileInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FileInputStreamIOExceptionpublic int updateBytesRead(int byteCount)
public long getBytesRead()
Copyright © 2009-2013 DuraSpace. All Rights Reserved.