public class CsvFileDownloadView
extends java.lang.Object
implements org.springframework.web.servlet.View
This is a experimental class, can be changed in the future
Constructor and Description |
---|
CsvFileDownloadView(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
java.io.File |
getFile() |
void |
render(java.util.Map<java.lang.String,?> model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setFile(java.io.File file) |
public CsvFileDownloadView(java.io.File file)
file
- public java.lang.String getContentType()
getContentType
in interface org.springframework.web.servlet.View
public void render(java.util.Map<java.lang.String,?> model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
render
in interface org.springframework.web.servlet.View
java.lang.Exception
public java.io.File getFile()
public void setFile(java.io.File file)
Copyright © 2007-2020 EDIT. All Rights Reserved.