Liferay 6.2-ce-ga5

com.liferay.portal.kernel.io
Class AutoDeleteFileInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FileInputStream
          extended by com.liferay.portal.kernel.io.AutoDeleteFileInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class AutoDeleteFileInputStream
extends FileInputStream


Constructor Summary
AutoDeleteFileInputStream(File file)
           
 
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
 

Constructor Detail

AutoDeleteFileInputStream

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

close

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

Liferay 6.2-ce-ga5