@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
FileNotFoundException
public FileDownload(File file, String contentType) throws FileNotFoundException
FileNotFoundException
public FileDownload(File file, String contentType, String fileName, boolean doDownload) throws FileNotFoundException
FileNotFoundException
public void write(javax.servlet.http.HttpServletResponse response) throws IOException
write
in interface Download
IOException
Copyright © 2014 Caelum. All rights reserved.