Package ucar.unidata.util
Class ISO646
java.lang.Object
ucar.unidata.util.ISO646
Byte Classification as ISO 646 ranges, in the manner of
\invalid input: '<'ctype.h\>
in the C locale.
The motivation for this class is that the character classifications are
it is intentionally restricted. isupper(c)
is only true
for 'A-Z'. It is important to only use this where it is appropriate,
where the input is declared to be ISO 646. We use it for decoding
meteorological bulletins.
- Version:
- $Revision: 1.10 $ $Date: 2006/05/05 19:19:35 $
- Author:
- $Author: jeffmc $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isalnum
(byte ch) _more_static boolean
isdigit
(byte ch) _more_static boolean
islower
(byte ch) _more_static boolean
isspace
(byte ch) _more_static boolean
isupnum
(byte ch) Returns true if upper case or numeric.static boolean
isupper
(byte ch) _more_static void
_more_
-
Constructor Details
-
ISO646
public ISO646()
-
-
Method Details
-
isdigit
public static boolean isdigit(byte ch) _more_- Parameters:
ch
-- Returns:
- _more_
-
isupper
public static boolean isupper(byte ch) _more_- Parameters:
ch
-- Returns:
- _more_
-
islower
public static boolean islower(byte ch) _more_- Parameters:
ch
-- Returns:
- _more_
-
isalnum
public static boolean isalnum(byte ch) _more_- Parameters:
ch
-- Returns:
- _more_
-
isspace
public static boolean isspace(byte ch) _more_- Parameters:
ch
-- Returns:
- _more_
-
isupnum
public static boolean isupnum(byte ch) Returns true if upper case or numeric.- Parameters:
ch
-- Returns:
- _more_
-
main
_more_- Parameters:
args
-
-