In case of just for existence. It could be file or a directory. new File("/path/to/file"). · Check for file. File f = new File("/path/to/file"); if(f.exists() && ...
確定! 回上一頁