public class ExpectedFileInputStream extends FileInputStream
Constructor and Description |
---|
ExpectedFileInputStream(File file,
long expectedSize) |
Modifier and Type | Method and Description |
---|---|
long |
getTimeout() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
setTimeout(long timeout) |
long |
skip(long n) |
available, close, finalize, getChannel, getFD
mark, markSupported, reset
public ExpectedFileInputStream(File file, long expectedSize) throws FileNotFoundException
FileNotFoundException
public long getTimeout()
public void setTimeout(long timeout)
public long skip(long n) throws IOException
skip
in class FileInputStream
IOException
public int read() 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 read(byte[] b) throws IOException
read
in class FileInputStream
IOException
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.