public class CSVFileResultHandler extends CSVResultHandler
csvPrinter, isClosed, utilresultDir, resultFileDetails, resultFileName| Constructor and Description |
|---|
CSVFileResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
open(String header)
This method is meant to open the connection to the target CSV location
|
List<Result> |
read() |
void |
write(Result result) |
close, flush, isClosedgetResultFileDetails, getResultFileName, setResultFileDetails, setResultFileNamepublic void write(Result result) throws IOException
write in interface ResultHandlerwrite in class CSVResultHandlerIOExceptionpublic List<Result> read() throws IOException
IOExceptionprotected void open(String header) throws IOException
CSVResultHandleropen in class CSVResultHandlerheader - String Comma separated list of header values for CSVIOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.