com.perforce.p4java.impl.generic.core
Class TempFileInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
com.perforce.p4java.impl.generic.core.TempFileInputStream
- All Implemented Interfaces:
- Closeable
public class TempFileInputStream
- extends FileInputStream
A simple extension to the normal FileInputStream to allow us to
subvert a few things like close() for our own nefarious purposes.
TempFileInputStream
public TempFileInputStream(File file)
throws FileNotFoundException
- Throws:
FileNotFoundException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FileInputStream
- Throws:
IOException
getTmpFile
public File getTmpFile()
setTmpFile
public void setTmpFile(File tmpFile)
Copyright © 2015 Perforce Software. All Rights Reserved.