CSVApi
csvGetAllRows
Description...
CSVApi.csvGetAllRows(String filePath)
or
CSVApi.csvGetAllRows(String filePath, String separator)
or
CSVApi.csvGetAllRows(String filePath, String separator, String[] columnNames)
or
CSVApi.csvGetAllRows(String filePath, String separator, String[] columnNames, int columnNameLine)
Parameters
filePath
separator
columnNames
columnNameLine
Returns
List<Map<String, Object>>
csvGetPage
Description...
CSVApi.csvGetPage(String fileName, String separatorStr,
List<String> columnNames, int columnNameLine, String query, int startIndex, int pageSize)
or
CSVApi.csvGetPage(String fileName, char separatorChar,
List<String> columnNames, int columnNameLine, String query, int startIndex, int pageSize)
Parameters
fileName
separatorChar
columnNames
columnNameLine
query
startIndex
pageSize
Returns
List<Map<String, Object>>
getCSVIterator
Description...
CSVApi.getCSVIterator(String fileName, int startIndex, int pageSize)
or
CSVApi.getCSVIterator(String fileName, String query, int startIndex, int pageSize)
or
CSVApi.getCSVIterator(String fileName, char separatorChar, String query, int startIndex, int pageSize)
or
CSVApi.getCSVIterator(String fileName, List<String> columnNames, String query, int startIndex, int pageSize)
or
CSVApi.getCSVIterator(String fileName, char separatorChar, List<String> columnNames, String query, int startIndex, int pageSize)
or
CSVApi.getCSVIterator(String fileName, List<String> columnNames, int columnNameLine, String query, int startIndex, int pageSize)
or
CSVApi.getCSVIterator(String fileName, char separatorChar, List<String> columnNames, int columnNameLine, String query, int startIndex, int pageSize)
Parameters
fileName
startIndex
pageSize
query
separatorChar
columnNames
columnNameLine
Returns
CSVIterator
getCSVIterator
Description...
CSVApi.getCSVWriter(String fileName, FieldList fl)
or
CSVApi.getCSVWriter(String fileName, List<String> columnNames)
or
CSVApi.getCSVWriter(String fileName, char separatorChar, FieldList fl)
or
CSVApi.getCSVWriter(String fileName, char separatorChar,
List<String> columnNames)
or
CSVApi.getCSVWriter(String fileName, char separatorChar, FieldList fl,
int columnNameLine)
or
CSVApi.getCSVWriter(String fileName, char separatorChar,
List<String> columnNames, int columnNameLine)
Parameters
fileName
fl
separatorChar
columnNames
columnNameLine
Returns
CSVWriter
getCSVIterator
Description...
CSVApi.getCSVWriter(String fileName, FieldList fl)
or
CSVApi.getCSVWriter(String fileName, List<String> columnNames)
or
CSVApi.getCSVWriter(String fileName, char separatorChar, FieldList fl)
or
CSVApi.getCSVWriter(String fileName, char separatorChar,
List<String> columnNames)
or
CSVApi.getCSVWriter(String fileName, char separatorChar, FieldList fl,
int columnNameLine)
or
CSVApi.getCSVWriter(String fileName, char separatorChar,
List<String> columnNames, int columnNameLine)
Parameters
fileName
fl
separatorChar
columnNames
columnNameLine
Returns
CSVWriter
getCSVIterator
Description...
CSVApi.getCSVImportIterator(String id, int limit)
or
CSVApi.getCSVImportIterator(String id, int limit,
List<Map<String, Object>> mappings)
or
CSVApi.getCSVImportIterator(String id, String modelClassName, int limit,
List<Map<String, Object>> mappings)
Parameters
id
limit
mappings
modelClassName
Returns
Object
getCSVIterator
Description...
CSVApi.csvWriteFile(String fileName, String separatorStr, List<String> columnNames,
int columnNameLine, List<Map<String, Object>> rows)
or
CSVApi.csvWriteFile(String fileName, char separatorChar, List<String> columnNames,
int columnNameLine, List<Map<String, Object>> rows)
Parameters
fileName
separatorStr
separatorChar
columnNames
columnNameLine
rows
Returns
Result
Last updated