| Modifier and Type | Field and Description |
|---|---|
| protected final ICSVParser |
| Access | Constructor and Description |
|---|---|
| public | CSVParserWriter(Writer
- The writer to an underlying CSV source. writer, ICSVParser - ICSVParser to convert the String array to csv formatted string. parser, String - Desired line end String (either "\n" or "\r\n"). lineEnd)Constructor for the CSVParserWriter. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | writeNext(String[] nextLine, boolean applyQuotesToAll, Appendable appendable)
Implements abstract com. Writes the next line to the file. |
| parser | back to summary |
|---|---|
| protected final ICSVParser parser | |
| CSVParserWriter | back to summary |
|---|---|
| public CSVParserWriter(Writer writer, ICSVParser parser, String lineEnd) Constructor for the CSVParserWriter.
| |
| writeNext | back to summary |
|---|---|
| protected void writeNext(String[] nextLine, boolean applyQuotesToAll, Appendable appendable) throws IOException Implements abstract com. Doc from com. Writes the next line to the file. This method is a fail-fast method that will throw the IOException of the writer supplied to the CSVWriter (if the Writer does not handle the exceptions itself like the PrintWriter class).
| |