valueOf
Returns the CharCategory corresponding to the specified category that represents a Java general category constant.
Exceptions
IllegalArgumentException
- if the
category
does not represent a Java general category constant.