Here you can find the source of isPathExist(String path)
Parameter | Description |
---|---|
path | a parameter |
public static boolean isPathExist(String path)
//package com.java2s; import java.io.File; public class Main { /**//ww w .j a v a 2s. c om * @param path * @return */ public static boolean isPathExist(String path) { File file = new File(path); return file.exists(); } }