public static boolean isExist(String path){
  File file=new File(path);
  return file.exists();
}

public static boolean isExist ( String path ) { File file = new File ( path ) ; return file . exists ( ) ; }
is file exist , include directory or file
