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, skip
mark, markSupported, reset
public MonitoredFileInputStream(File file) throws FileNotFoundException
FileNotFoundException
public int read() throws IOException
read
in class FileInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FileInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FileInputStream
IOException
public int updateBytesRead(int byteCount)
public long getBytesRead()
Copyright © 2009–2014 DuraSpace. All rights reserved.