Package 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
Export the content of a local file
-
Field Summary
Fields inherited from class com.webmethods.caf.faces.bean.URLContentExportBean
charactersEncoding, connection, forceDownload
Fields inherited from interface com.webmethods.caf.faces.bean.IFileExportBean
UNKNOWN_CONTENT_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.webmethods.caf.faces.bean.URLContentExportBean
getExportCharacterEncoding, getExportContentLength, getExportContentType, getExportFileName, isDownloadForced, isExportBinary, setExportCharacterEncoding, writeExportBytes, writeExportText
-
Constructor Details
-
FileContentExportBean
Constructor.- Parameters:
file
- TheFile
object pointing to a file resource.forceDownload
- force download, seeURLContentExportBean.isDownloadForced()
- Throws:
IOException
- when exceptions is thrown in reaching the passedFile
.
-