Class CsvDataLoader
java.lang.Object
com.sap.cds.services.impl.persistence.CsvDataLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidload()Loads CSVs from the first existing CSV folder location.voidloadFolder(File folder, boolean recursive, ChangeSetContext ctx) Loads CSV files from within the specified folder
-
Constructor Details
-
CsvDataLoader
-
-
Method Details
-
load
public void load()Loads CSVs from the first existing CSV folder location. The paths is resolved based on the current working directory -
loadFolder
Loads CSV files from within the specified folder- Parameters:
folder- the folderrecursive- true, if the folder should be scanned recursivelyctx- an optionalChangeSetContext
-