public static boolean isValidFilePath(String path) { File f = new File(path); try { f.getCanonicalPath(); return true; } catch (IOException e) { return false; } }
確定! 回上一頁