Static Public Methods | |
| List | csvToList (File csvFile, String[] columnOrder) throws Exception |
| List | csvToList (StringBuffer sb, String[] columnOrder) throws Exception |
| List | csvToList (Reader reader, String[] columnOrder) throws Exception |
| StringBuffer | listOfListsToCsv (List list) throws Exception |
| StringBuffer | listOfListsToCsv (List list, StringBuffer sb) throws Exception |
| StringBuffer | resultSetToCsv (ResultSet resultSet) throws Exception |
| StringBuffer | resultSetToCsv (ResultSet resultSet, StringBuffer b, String[] columns) throws Exception |
| String[] | csvLine (String line) throws Exception |
Static Private Attributes | |
| Logger | logger = Logger.getLogger("net.threebit.utils.sosc") |
|
|
A simple csv line tokenizer that is more robust than anything else in this class. Other methods should be modified to make use of it instead of their own "split on comma" logic (which causes alot of problems). A null or empty line is allowed - a String[] of size 0 is returned. Definition at line 294 of file CsvTool.java. |
|
||||||||||||
|
Definition at line 53 of file CsvTool.java. |
|
||||||||||||
|
Definition at line 46 of file CsvTool.java. References sosc::CsvTool::csvToList(). |
|
||||||||||||
|
Definition at line 42 of file CsvTool.java. Referenced by sosc::CsvTool::csvToList(). |
|
||||||||||||
|
Definition at line 184 of file CsvTool.java. |
|
|
Definition at line 177 of file CsvTool.java. |
|
||||||||||||||||
|
Converts the given ResultSet to a string buffer in CSV format. The contents of the string buffer are not cleared in advance.
Definition at line 236 of file CsvTool.java. |
|
|
Just a wrapper for Definition at line 206 of file CsvTool.java. |
|
|
Debugging. Definition at line 37 of file CsvTool.java. |
1.2.15