Class ISO646

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

public final class ISO646 extends Object
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 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

      public static void main(String[] args)
      _more_
      Parameters:
      args -