Here you can find the source of fileExists(String filePath)
public static boolean fileExists(String filePath)
//package com.java2s; //License from project: Open Source License import java.io.File; public class Main { public static boolean fileExists(String filePath) { File file = new File(filePath); return file.exists(); }/*from w w w. ja v a 2 s . c om*/ }