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 Download
public long getContentLength()
getContentLength
in interface Download
public void write(OutputStream out) throws IOException
write
in interface Download
IOException
Copyright © 2018 Brandao. All rights reserved.