public class CsvUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DOUBLE_QUOTE |
protected static char |
FIELD_QUOTE |
protected static char |
FIELD_SEPARATOR |
protected static String |
QUOTE |
protected static String |
SPACE |
protected static String |
SPECIAL_CHARS |
| Constructor and Description |
|---|
CsvUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
fromCsvString(String line)
Converts CSV line to string array.
|
static String |
toCsvString(Object... elements)
Parse fields as csv string,
|
protected static final char FIELD_SEPARATOR
protected static final char FIELD_QUOTE
protected static final String DOUBLE_QUOTE
protected static final String SPECIAL_CHARS
protected static final String SPACE
protected static final String QUOTE
Copyright © 2018. All rights reserved.