public class FileDownload extends java.lang.Object implements Download
InputStreamDownload,
ByteArrayDownload| Constructor and Description |
|---|
FileDownload(java.io.File file,
java.lang.String contentType) |
FileDownload(java.io.File file,
java.lang.String contentType,
java.lang.String fileName) |
FileDownload(java.io.File file,
java.lang.String contentType,
java.lang.String fileName,
boolean doDownload) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(javax.servlet.http.HttpServletResponse response) |
public FileDownload(java.io.File file,
java.lang.String contentType,
java.lang.String fileName)
public FileDownload(java.io.File file,
java.lang.String contentType)
public FileDownload(java.io.File file,
java.lang.String contentType,
java.lang.String fileName,
boolean doDownload)
Copyright © 2013 Caelum. All Rights Reserved.