@Vetoed public class FileDownload extends Object implements Download
InputStreamDownload,
ByteArrayDownload| Constructor and Description |
|---|
FileDownload(File file,
String contentType) |
FileDownload(File file,
String contentType,
String fileName) |
FileDownload(File file,
String contentType,
String fileName,
boolean doDownload) |
public FileDownload(File file, String contentType, String fileName) throws FileNotFoundException
FileNotFoundExceptionpublic FileDownload(File file, String contentType) throws FileNotFoundException
FileNotFoundExceptionpublic FileDownload(File file, String contentType, String fileName, boolean doDownload) throws FileNotFoundException
FileNotFoundExceptionpublic void write(javax.servlet.http.HttpServletResponse response)
throws IOException
write in interface DownloadIOExceptionCopyright © 2014 Caelum. All rights reserved.