public class CSVExporter
extends java.lang.Object
| Constructor and Description |
|---|
CSVExporter() |
| Modifier and Type | Method and Description |
|---|---|
static char |
getPreferredSeparator(java.lang.String language)
Returns the commonly used list separator for the specified language.
|
static int |
toCSV(java.lang.String[] fields,
java.lang.Object[][] values,
char separator,
java.io.OutputStream stream)
Deprecated.
Use toCSV(String[], Object[][], Locale, OutputStream) instead
|
static int |
toCSV(java.lang.String[] fields,
java.lang.Object[][] values,
java.util.Locale locale,
java.io.OutputStream stream)
Writes CSV formatted data to the specified stream using the specified fields, values and using the specified
separator character.
|
static int |
toCSV(java.lang.String[] fields,
java.lang.Object[][] values,
java.util.Locale locale,
java.lang.String columnSeparator,
java.io.OutputStream stream)
Writes CSV formatted data to the specified stream using the specified fields, values and using the specified
separator character.
|
static int |
toCSV(javax.swing.table.TableModel model,
char separator,
boolean[] columnFilters,
java.io.OutputStream stream)
Deprecated.
|
static int |
toCSV(javax.swing.table.TableModel model,
char separator,
java.io.OutputStream stream)
Deprecated.
|
static int |
toCSV(javax.swing.table.TableModel model,
java.util.Locale locale,
boolean[] columnFilters,
java.io.OutputStream stream)
Writes CSV formatted data to the specified stream using the specified table model and using the specified
separator character.
|
static int |
toCSV(javax.swing.table.TableModel model,
java.util.Locale locale,
java.io.OutputStream stream)
Writes CSV formatted data to the specified stream using the specified table model and using the specified
separator character.
|
@Deprecated
public static int toCSV(javax.swing.table.TableModel model,
char separator,
java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write tojava.io.IOExceptiontoCSV(TableModel, Locale, OutputStream)public static int toCSV(javax.swing.table.TableModel model,
java.util.Locale locale,
java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write tojava.io.IOException@Deprecated
public static int toCSV(javax.swing.table.TableModel model,
char separator,
boolean[] columnFilters,
java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write tojava.io.IOExceptiontoCSV(TableModel model, Locale locale, boolean[] columnFilters, OutputStream stream)public static int toCSV(javax.swing.table.TableModel model,
java.util.Locale locale,
boolean[] columnFilters,
java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write tojava.io.IOException@Deprecated
public static int toCSV(java.lang.String[] fields,
java.lang.Object[][] values,
char separator,
java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write tojava.io.IOExceptionpublic static int toCSV(java.lang.String[] fields,
java.lang.Object[][] values,
java.util.Locale locale,
java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write tojava.io.IOExceptionpublic static int toCSV(java.lang.String[] fields,
java.lang.Object[][] values,
java.util.Locale locale,
java.lang.String columnSeparator,
java.io.OutputStream stream)
throws java.io.IOException
stream - the output stream to write tojava.io.IOExceptionpublic static char getPreferredSeparator(java.lang.String language)
language - the language