This method of the Path Class determines whether a character can be used in a file name.
public static boolean isValidFileChar(char ch);
Returns true if the character can be used in a file name; otherwise, returns false.
ch | The character that is checked to see if it is valid in a file name. |