Here you can find the source of isFileExist(String filePath)
Parameter | Description |
---|---|
filePath | a parameter |
public static boolean isFileExist(String filePath)
//package com.java2s; import java.io.File; public class Main { /**/* w w w . j a v a2 s. c o m*/ * determin if file exist. * * @param filePath * @return */ public static boolean isFileExist(String filePath) { File file = new File(filePath); return file.exists(); } }