public class CsvDataLoader extends Object
| Constructor and Description |
|---|
CsvDataLoader(PersistenceService db,
CdsRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
load()
Loads CSVs from the first existing CSV folder location.
|
void |
loadFile(File file)
Loads CSV files from the specified file (extension needs to be .csv)
|
void |
loadFolder(File folder,
boolean recursive)
Loads CSV files from within the specified folder
|
public CsvDataLoader(PersistenceService db, CdsRuntime runtime)
public void load()
public void loadFolder(File folder, boolean recursive)
folder - the folderrecursive - true, if the folder should be scanned recursivelypublic void loadFile(File file)
file - the fileCopyright © 2021. All rights reserved.