Character.isSpace

Character.isSpace

Class Overview | Class Members | This Package | All Packages

Syntax
public static boolean isSpace( char ch )
Parameters
ch
the character to be tested.
Returns
true if the character is ISO-LATIN-1 white space; false otherwise.
Description
Note: isSpace() is deprecated. Replaced by isWhitespace(char).

Determines if the specified character is ISO-LATIN-1 white space. This method returns true for the following five characters only:
'\t' \u0009 HORIZONTAL TABULATION
'\n' \u000A NEW LINE
'\f' \u000C FORM FEED
'\r' \u000D CARRIAGE RETURN
'  ' \u0020 SPACE

See Also
isSpaceChar, isWhitespace