Character.isTitleCase
Class Overview | Class Members |
This Package |
All Packages
public static boolean isTitleCase( char ch )
Parameters
- ch
- the character to be tested.
Returns
true if the character is titlecase;
false otherwise.
Description
Determines if the specified character is a titlecase character.
A character is considered to be titlecase if and only if
it is specified to be titlecase by the Unicode 2.0 standard
(category "Lt" in the Unicode specification data file).
The printed representations of four Unicode characters look like
pairs of Latin letters. For example, there is an uppercase letter
that looks like "LJ" and has a corresponding lowercase letter that
looks like "lj". A third form, which looks like "Lj",
is the appropriate form to use when rendering a word in lowercase
with initial capitals, as for a book title.
These are the Unicode characters for which this method returns
true:
- LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON
- LATIN CAPITAL LETTER L WITH SMALL LETTER J
- LATIN CAPITAL LETTER N WITH SMALL LETTER J
- LATIN CAPITAL LETTER D WITH SMALL LETTER Z
See Also
isLowerCase, isUpperCase, toTitleCase