Microsoft SDK for Java

isValidFileChar

This method of the Path Class determines whether a character can be used in a file name.

Syntax

public static boolean isValidFileChar(char ch);

Return Value

Returns true if the character can be used in a file name; otherwise, returns false.

Parameters

ch The character that is checked to see if it is valid in a file name.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.