com.infoengine.soap
Class SOAPAttachmentOutputStream.TemporaryFileInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FileInputStream
          extended bycom.infoengine.soap.SOAPAttachmentOutputStream.TemporaryFileInputStream
Enclosing class:
SOAPAttachmentOutputStream

class SOAPAttachmentOutputStream.TemporaryFileInputStream
extends FileInputStream

an extension to FileInputStream that deletes the underlying file when the stream is closed.


Field Summary
(package private)  File f
           
 
Fields inherited from class java.io.FileInputStream
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
(package private) SOAPAttachmentOutputStream.TemporaryFileInputStream(File f)
           
 
Method Summary
 void close()
           
 
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
 

Field Detail

f

File f
Constructor Detail

SOAPAttachmentOutputStream.TemporaryFileInputStream

SOAPAttachmentOutputStream.TemporaryFileInputStream(File f)
                                              throws FileNotFoundException
Method Detail

close

public void close()
           throws IOException
Throws:
IOException