org.codehaus.xfire.util
Class DeleteOnCloseFileInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FileInputStream
          extended by org.codehaus.xfire.util.DeleteOnCloseFileInputStream
All Implemented Interfaces:
Closeable

public class DeleteOnCloseFileInputStream
extends FileInputStream


Constructor Summary
DeleteOnCloseFileInputStream(File file)
           
 
Method Summary
 void close()
           
 boolean isDelete()
           
 void setDelete(boolean delete)
           
 
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
 

Constructor Detail

DeleteOnCloseFileInputStream

public DeleteOnCloseFileInputStream(File file)
                             throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class FileInputStream
Throws:
IOException

isDelete

public boolean isDelete()

setDelete

public void setDelete(boolean delete)


Copyright © 2004-2013. All Rights Reserved.