Class TempFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
com.perforce.p4java.impl.generic.core.TempFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
A simple extension to the normal FileInputStream to allow us to
subvert a few things like close() for our own nefarious purposes.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FileInputStream
available, getChannel, getFD, read, read, read, readAllBytes, readNBytes, skipMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
TempFileInputStream
- Throws:
FileNotFoundException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFileInputStream- Throws:
IOException
-
getTmpFile
-
setTmpFile
-