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
  • Constructor Details

    • 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.