public class TableDownload
extends java.lang.Object
Constructor and Description |
---|
TableDownload(javax.servlet.http.HttpServletRequest request,
WebClientSession webClientSession,
javax.servlet.http.HttpServletResponse response,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletResponse |
generatcsv()
Creates a CSV file
|
javax.servlet.http.HttpServletResponse |
generatexls()
Creates an XLS file
|
javax.servlet.http.HttpServletResponse |
generatexlsx()
Creates an XLSX file
|
void |
init()
Initializes and fetches the data for the table.
|
public TableDownload(javax.servlet.http.HttpServletRequest request, WebClientSession webClientSession, javax.servlet.http.HttpServletResponse response, java.lang.String type)
public void init() throws java.rmi.RemoteException, MXException
MXException
java.rmi.RemoteException
public javax.servlet.http.HttpServletResponse generatexls() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public javax.servlet.http.HttpServletResponse generatexlsx() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public javax.servlet.http.HttpServletResponse generatcsv() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException