How get file path from property file and pass into the method as arguments
In Property file :
**FolderPath**=C:\\pre-configured/Import.csv
In Main class im passing this path as argument for a method load
Properties pro = new Properties();
new CSV().load(con,"**pro.FolderPath**", "VALIDATION");
but it is giving error as "pro.getProperty(FolderPath) (The system cannot
find the file specified.)" . Please help in passing this path into the
method as argument ?
No comments:
Post a Comment