Sep 13, 2018

Example to check file exists in Java

if (Files.exists(FileSystems.getDefault().getPath("i88.ca/test.txt'))) {
//exists here
}