public class CsvExporter
extends java.lang.Object
Worksheet.| Constructor and Description |
|---|
CsvExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(Worksheet worksheet,
java.lang.String filePath)
Exports the specified worksheet to the specified CSV file.
|
java.lang.String |
getEncoding()
Gets the encoding used.
|
char |
getQuote()
Gets the character used as a quote.
|
char |
getSeparator()
Gets the character used as a separator.
|
void |
setEncoding(java.lang.String value)
Sets the encoding used.
|
void |
setQuote(char value)
Sets the character used as a quote.
|
void |
setSeparator(char value)
Sets the character used as a separator.
|
public void export(Worksheet worksheet, java.lang.String filePath) throws java.io.IOException
worksheet - The worksheet to export the data from.filePath - A string specifying the path to the CSV file.java.io.IOExceptionpublic char getSeparator()
public void setSeparator(char value)
public char getQuote()
public void setQuote(char value)
public java.lang.String getEncoding()
public void setEncoding(java.lang.String value)