Class TransferProgressFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FileInputStream
-
- net.integrio.maven.aws.data.transfer.TransferProgressFileInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class TransferProgressFileInputStream extends FileInputStream
-
-
Constructor Summary
Constructors Constructor Description TransferProgressFileInputStream(File file, TransferProgress transferProgress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()intread(byte[] b)intread(byte[] b, int off, int len)-
Methods inherited from class java.io.FileInputStream
available, close, finalize, getChannel, getFD, skip
-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
-
-
-
Constructor Detail
-
TransferProgressFileInputStream
public TransferProgressFileInputStream(File file, TransferProgress transferProgress) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
read
public int read() throws IOException- Overrides:
readin classFileInputStream- Throws:
IOException
-
read
public int read(byte[] b) throws IOException- Overrides:
readin classFileInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classFileInputStream- Throws:
IOException
-
-