Android Utililty Methods File Name Check

List of utility methods to do File Name Check

Description

The list of methods to do File Name Check are organized into topic(s).

Method

booleanisFilenameValid(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;