List of utility methods to do File Name Check
boolean | isFilenameValid(String file) Only check if a given filename is valid according to the OS rules. File f = new File(file); try { f.getCanonicalPath(); return true; } catch (IOException e) { return false; |