I want to find if a file exists or not in java
The name of the file can abc_*_*.xml
(where * represents any character or number)
temp = File.createTempFile(startfilename + "_" + "" + ".xml");
boolean exists = temp.exists();
How to check for various combinations of filename where only the start of the file name is similar and the rest of the filename after _ is different