Hasso-Plattner-Institut
Prof. Dr. Felix Naumann
  
 

Preparator API

renameFile(file, newName)

Description

Rename the specific data file.

Parameters

Name Required Description DefaultValue Example
filePath required The file to change the encoding   ../customer.csv
newName required The desired new name of this file   Customer.csv

Example Preparator

renameFile("E:\\Data\testdata\DimCustomer.csv", "DimentionTableCustomer.csv")