public class CSVLoader
extends java.lang.Object
Constructor and Description |
---|
CSVLoader()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Map> |
loadCSV(java.lang.String fName)
Loader method for loading a csv file with column headings and row data
|
static java.util.List<java.util.Map> |
loadCSVStatic(java.lang.String fName)
Method used to call the loader for the csv data
|
public static java.util.List<java.util.Map> loadCSVStatic(java.lang.String fName)
fName
- a file namepublic java.util.List<java.util.Map> loadCSV(java.lang.String fName)
fName
- represents the file name as a string objectdata
- is a map containing the string key and the list contaning the data map of that key