com.liferay.faces.bridge.renderkit.primefaces
Class UploadedFileInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FileInputStream
          extended by com.liferay.faces.bridge.renderkit.primefaces.UploadedFileInputStream
All Implemented Interfaces:
Closeable

public class UploadedFileInputStream
extends FileInputStream

Author:
Neil Griffin

Constructor Summary
UploadedFileInputStream(String absolutePath)
           
 
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

UploadedFileInputStream

public UploadedFileInputStream(String absolutePath)
                        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


Copyright © 2014 Liferay, Inc.. All Rights Reserved.