public class CsvDataStoreImpl extends AbstractDataStoreImpl
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BREAK_STRING_PARAM |
protected static String |
CELL_PREFIX |
protected static String |
CSV_DIRS_PARAM |
protected static String |
CSV_FILE_ENCODING_PARAM |
protected static String |
CSV_FILES_PARAM |
String[] |
csvFileSuffixs |
protected static String |
ESCAPE_CHARACTER_PARAM |
protected static String |
ESCAPE_DISABLED_PARAM |
protected static String |
IGNORE_EMPTY_LINES_PARAM |
protected static String |
IGNORE_LEADING_WHITESPACES_PARAM |
protected static String |
IGNORE_LINE_PATTERNS_PARAM |
protected static String |
IGNORE_TRAILING_WHITESPACES_PARAM |
protected static String |
NULL_STRING_PARAM |
protected static String |
QUOTE_CHARACTER_PARAM |
protected static String |
QUOTE_DISABLED_PARAM |
protected static String |
SEPARATOR_CHARACTER_PARAM |
protected static String |
SKIP_LINES_PARAM |
alive, mimeType| Constructor and Description |
|---|
CsvDataStoreImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected com.orangesignal.csv.CsvConfig |
buildCsvConfig(Map<String,String> paramMap) |
protected String |
getCsvFileEncoding(Map<String,String> paramMap) |
protected List<File> |
getCsvFileList(Map<String,String> paramMap) |
protected boolean |
hasHeaderLine(Map<String,String> paramMap) |
protected boolean |
isCsvFile(File parentFile,
String filename) |
protected void |
processCsv(DataConfig dataConfig,
IndexUpdateCallback callback,
Map<String,String> paramMap,
Map<String,String> scriptMap,
Map<String,Object> defaultDataMap,
com.orangesignal.csv.CsvConfig csvConfig,
File csvFile,
long readInterval,
String csvFileEncoding,
boolean hasHeaderLine) |
protected void |
storeData(DataConfig dataConfig,
IndexUpdateCallback callback,
Map<String,String> paramMap,
Map<String,String> scriptMap,
Map<String,Object> defaultDataMap) |
convertValue, getReadInterval, sleep, stop, storeprotected static final String ESCAPE_CHARACTER_PARAM
protected static final String QUOTE_CHARACTER_PARAM
protected static final String SEPARATOR_CHARACTER_PARAM
protected static final String SKIP_LINES_PARAM
protected static final String IGNORE_LINE_PATTERNS_PARAM
protected static final String IGNORE_EMPTY_LINES_PARAM
protected static final String IGNORE_TRAILING_WHITESPACES_PARAM
protected static final String IGNORE_LEADING_WHITESPACES_PARAM
protected static final String NULL_STRING_PARAM
protected static final String BREAK_STRING_PARAM
protected static final String ESCAPE_DISABLED_PARAM
protected static final String QUOTE_DISABLED_PARAM
protected static final String CSV_FILE_ENCODING_PARAM
protected static final String CSV_FILES_PARAM
protected static final String CSV_DIRS_PARAM
protected static final String CELL_PREFIX
public String[] csvFileSuffixs
protected void storeData(DataConfig dataConfig, IndexUpdateCallback callback, Map<String,String> paramMap, Map<String,String> scriptMap, Map<String,Object> defaultDataMap)
storeData in class AbstractDataStoreImplprotected void processCsv(DataConfig dataConfig, IndexUpdateCallback callback, Map<String,String> paramMap, Map<String,String> scriptMap, Map<String,Object> defaultDataMap, com.orangesignal.csv.CsvConfig csvConfig, File csvFile, long readInterval, String csvFileEncoding, boolean hasHeaderLine)
Copyright © 2009–2017 CodeLibs. All rights reserved.