Rajdeep Biswas wrote:java.io.File has methods to get details you sought.
Then you can create a method that creates a java.util.Map object with these two details, and then specify the return type of that method as Map itself.
Then you have your issue resolved!!
Regards,
thank you Rajdeep.... can you give me some good examples links....