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