I want to know if there is any method in JAVA which can return a file path of the file name given?
function to find file path
Collapse
X
-
I think the OP might be looking for some of the things in the Javadoc on the File class - there are methods in there to find out if a file exists, and another to return the absolute path where the file exists.Comment
Comment