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'\u0009HORIZONTAL TABULATION
'\n'\u000ANEW LINE
'\f'\u000CFORM FEED
'\r'\u000DCARRIAGE RETURN
'  '\u0020SPACE

See Also
isSpaceChar, isWhitespace