Here you can find the source of isFileExist(final String filePathString)
Parameter | Description |
---|---|
filePathString | a parameter |
Parameter | Description |
---|---|
Exception | an exception |
public static boolean isFileExist(final String filePathString) throws Exception
//package com.java2s; //License from project: Apache License import java.io.File; public class Main { public static boolean isFileExist(final String filePathString) throws Exception { File f = new File(filePathString); return f.exists(); }//from w ww . j a va2 s . c om }