ucar.unidata.util
Class ISO646

java.lang.Object
  extended by ucar.unidata.util.ISO646

public final class ISO646
extends Object

Byte Classification as ISO 646 ranges, in the manner of \ 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:
Character

Constructor Summary
ISO646()
           
 
Method Summary
static 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 main(String[] args)
          _more_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISO646

public ISO646()
Method Detail

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

public static void main(String[] args)
_more_

Parameters:
args -