Package org.silverpeas.core.web.export
Class ExportCSVBuilder
- java.lang.Object
-
- org.silverpeas.core.web.export.ExportCSVBuilder
-
public class ExportCSVBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description ExportCSVBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLine(CSVRow row)
void
addLines(List<CSVRow> rows)
static Optional<ExportCSVBuilder>
getFrom(HttpRequest request)
protected void
sendTo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
setHeader(CSVRow header)
String
setupRequest(HttpRequest request)
-
-
-
Method Detail
-
getFrom
public static Optional<ExportCSVBuilder> getFrom(HttpRequest request)
-
setupRequest
public String setupRequest(HttpRequest request)
-
setHeader
public void setHeader(CSVRow header)
-
addLine
public void addLine(CSVRow row)
-
sendTo
protected void sendTo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
- Throws:
IOException
-
-