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:
- java.io.Closeable
public class TempFileInputStream
- extends java.io.FileInputStream
A simple extension to the normal FileInputStream to allow us to
subvert a few things like close() for our own nefarious purposes.
Methods inherited from class java.io.FileInputStream |
available, finalize, getChannel, getFD, read, read, read, skip |
Methods inherited from class java.io.InputStream |
mark, markSupported, reset |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TempFileInputStream
public TempFileInputStream(java.io.File file)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.FileInputStream
- Throws:
java.io.IOException
getTmpFile
public java.io.File getTmpFile()
setTmpFile
public void setTmpFile(java.io.File tmpFile)
Copyright (c) 2008-2010 Perforce Software. All rights reserved.