Rename in File Handeling method | Selenium Forum
H
Harsha Posted on 06/03/2020

Hi,

 

In File handeling, how to rename the create folder/txt file/xls file.

please let me know all the 3 methods.

 

thanks,

Harsha


A
Ashish Thakur Replied on 06/03/2020

Please use Apache Commons IO.

Please go through the docmentation in the link below.

https://commons.apache.org/proper/commons-io/javadocs/api-2.5/org/apache/commons/io/FileUtils.html

This will allow you to do all the things required.