public class CSVUtil extends Object implements CSVConstants
DEFAULT_ESCAPE, DEFAULT_QUOTE, DEFAULT_SEPARATOR, LOOKUP_KEY_COLUMN, LOOKUP_VALUE_COLUMN, PARAM_ESCAPE, PARAM_GEOMETRY, PARAM_QUOTE, PARAM_SEPARATOR, PARAM_SKIP_FIRST_LINE, PARAM_TYPENAME
Constructor and Description |
---|
CSVUtil() |
Modifier and Type | Method and Description |
---|---|
static char |
getEscape(ImportProvider provider)
Getter for the escape sign
|
static char |
getQuote(ImportProvider provider)
Getter for the quote sign
|
static char |
getSep(ImportProvider provider)
Getter for the separating sign
|
static au.com.bytecode.opencsv.CSVReader |
readFirst(ImportProvider provider)
Reads only the first line of a given CSV file
|
public static au.com.bytecode.opencsv.CSVReader readFirst(ImportProvider provider) throws IOException
provider
- provider to get the parameters fromIOException
- if an I/O operation failspublic static char getSep(ImportProvider provider)
provider
- the provider given to the methodpublic static char getQuote(ImportProvider provider)
provider
- the provider given to the methodpublic static char getEscape(ImportProvider provider)
provider
- the provider given to the methodBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a