public class CSVConfig extends Config
| Modifier and Type | Field and Description |
|---|---|
static char |
DEFAULT_QUOTE_CHAR |
| Constructor and Description |
|---|
CSVConfig(DataService dataService,
String configId,
Map<String,String> properties,
boolean odataEnable) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
au.com.bytecode.opencsv.CSVReader |
createCSVReader() |
ODataDataHandler |
createODataHandler() |
Map<Integer,String> |
getColumnMappings() |
char |
getColumnSeparator() |
String |
getCsvDataSourcePath() |
int |
getHeaderRow() |
int |
getMaxRowCount() |
int |
getStartingRow() |
boolean |
isActive() |
boolean |
isHasHeader() |
boolean |
isResultSetFieldsCaseSensitive() |
getConfigId, getDataService, getProperties, getProperty, getType, isODataEnabled, toStringpublic static final char DEFAULT_QUOTE_CHAR
public CSVConfig(DataService dataService, String configId, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFaultpublic au.com.bytecode.opencsv.CSVReader createCSVReader()
throws IOException,
DataServiceFault
IOExceptionDataServiceFaultpublic char getColumnSeparator()
public String getCsvDataSourcePath()
public boolean isHasHeader()
public int getMaxRowCount()
public int getStartingRow()
public int getHeaderRow()
public ODataDataHandler createODataHandler() throws ODataServiceFault
createODataHandler in class ConfigODataServiceFaultpublic boolean isResultSetFieldsCaseSensitive()
isResultSetFieldsCaseSensitive in class ConfigCopyright © 2017 WSO2. All rights reserved.