In J2SE, this method is usually available in the Character class. Determines if the referenced character (Unicode code point) is an ISO control character. A character is considered to be an ISO control character if its code is in the range '\u0000' through '\u001F' or in the range '\u007F' through '
(int ch)
| 635 | * range '\u007F' through '\u009F'. |
| 636 | */ |
| 637 | static boolean isISOControl(int ch) { |
| 638 | return ((ch >= '\u0000' && ch <= '\u001f') || (ch >= '\u007f' && ch <= '\u009f')); |
| 639 | } |
| 640 | |
| 641 | /** |
| 642 | * Test if a character is a US-ASCII alpha (A-Z,a-z) or number (0-9). |
no outgoing calls