com.webmethods.caf.faces.bean
Class FileContentExportBean
java.lang.Object
com.webmethods.caf.faces.bean.URLContentExportBean
com.webmethods.caf.faces.bean.FileContentExportBean
- All Implemented Interfaces:
- IFileExportBean, IFileExportBeanEx
public class FileContentExportBean
- extends URLContentExportBean
Export the content of a local file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileContentExportBean
public FileContentExportBean(File file,
boolean forceDownload)
throws IOException
- Constructor.
- Parameters:
file
- The File
object pointing to a file resource.forceDownload
- force download, see URLContentExportBean.isDownloadForced()
- Throws:
IOException
- when exceptions is thrown in reaching the passed
File
.