List of utility methods to do Is Path Exist
boolean | isPathExist(String path) is Path Exist File file = new File(path); return file.exists(); |
boolean | isPathExists(String path) judge a path has existed if (path == null || path.isEmpty()) { throw new IllegalArgumentException("the arg: path can not be null or empty"); return new File(path).exists(); |