Using java.io.File : File f = new File(filePathString); if(f.exists() && !f.isDirectory()) { // do something }.
確定! 回上一頁