Existe arquivo de teste java
File tempFile = new File("c:/temp/temp.txt");
boolean exists = tempFile.exists();
Busy Badger
File tempFile = new File("c:/temp/temp.txt");
boolean exists = tempFile.exists();