Package org.jumpmind.vaadin.ui.common
Class ExportFileDownloader
java.lang.Object
com.vaadin.flow.server.AbstractStreamResource
com.vaadin.flow.server.StreamResource
org.jumpmind.vaadin.ui.common.ExportFileDownloader
- All Implemented Interfaces:
Serializable
public class ExportFileDownloader
extends com.vaadin.flow.server.StreamResource
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.server.StreamResource
getContentTypeResolver, getHeader, getHeaders, getName, getWriter, setContentType, setContentTypeResolver, setHeader
Methods inherited from class com.vaadin.flow.server.AbstractStreamResource
getCacheTime, getId, setCacheTime
-
Field Details
-
contentType
-
fileName
-
-
Constructor Details
-
ExportFileDownloader
public ExportFileDownloader(String fileName, String contentType, File file) throws FileNotFoundException - Throws:
FileNotFoundException
-