Class FTPConnection.TempInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.deltava.util.ftp.FTPConnection.TempInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
FTPConnection
- Since:
- 1.0
- Version:
- 11.2
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FileInputStream
available, getChannel, getFD, read, read, read, readAllBytes, readNBytes, skip, transferTo
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes
-
Constructor Details
-
TempInputStream
TempInputStream(File f) throws FileNotFoundException - Throws:
FileNotFoundException
-
-
Method Details
-
close
Deletes the temporary file on close.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFileInputStream
- Throws:
IOException
-