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, toString
public static final char DEFAULT_QUOTE_CHAR
public CSVConfig(DataService dataService, String configId, Map<String,String> properties, boolean odataEnable) throws DataServiceFault
DataServiceFault
public au.com.bytecode.opencsv.CSVReader createCSVReader() throws IOException, DataServiceFault
IOException
DataServiceFault
public 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 Config
ODataServiceFault
public boolean isResultSetFieldsCaseSensitive()
isResultSetFieldsCaseSensitive
in class Config
Copyright © 2019 WSO2. All rights reserved.