public class CsvWriter extends CustomOutputWriter
customOutputs, KEY_ITEMS, KEY_SIZE, max, NB_MAX, PARAM_SIZE, PARAM_WRITER, PATH_KEY, pipe, size, writer| Constructor and Description |
|---|
CsvWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
ends()
writes the end of the output
|
boolean |
handleRequest(org.apache.sling.api.SlingHttpServletRequest request) |
protected void |
initResponse(org.apache.sling.api.SlingHttpServletResponse response)
Specifically init the response
|
void |
starts()
Init the writer, writes beginning of the output
|
protected void |
writeItem(org.apache.sling.api.resource.Resource resource)
Write a given resource
|
init, setPipesetMax, setWriter, toString, writepublic boolean handleRequest(org.apache.sling.api.SlingHttpServletRequest request)
handleRequest in class OutputWriterrequest - current requestprotected void initResponse(org.apache.sling.api.SlingHttpServletResponse response)
OutputWriterinitResponse in class OutputWriterresponse - response on which to writepublic void starts()
OutputWriterstarts in class OutputWriterprotected void writeItem(org.apache.sling.api.resource.Resource resource)
OutputWriterwriteItem in class OutputWriterresource - resource that will be writtenpublic void ends()
OutputWriterends in class OutputWriterCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.