| Constructor and Description |
|---|
FileDownload(File file) |
FileDownload(File file,
String contentType,
Map<String,Object> header) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
Map<String,Object> |
getHeader() |
void |
write(OutputStream out) |
public FileDownload(File file)
public String getContentType()
getContentType in interface Downloadpublic long getContentLength()
getContentLength in interface Downloadpublic void write(OutputStream out) throws IOException
write in interface DownloadIOExceptionCopyright © 2026 Brandao. All rights reserved.