8.75. File tom/Unicoding

class tom.Unicoding

The Unicoding class object maintains information on the Unicode character coding.

inherits

Behaviour supers: All

variables

static ByteArray is_digit;

Bitmap for digit predicate.

static ByteArray is_letter;

Bitmap for letter predicate.

static ByteArray is_lower;

Bitmap for lower predicate.

static ByteArray is_punct;

Bitmap for punctuation predicate.

static ByteArray is_space;

Bitmap for space predicate.

static ByteArray is_upper;

Bitmap for upper predicate.

methods


protected ByteArray
  loadPredicateSet String predicate
       alternative selector alt_sel;

Load and return the predicate set for the predicate on Unicode characters. If it can not be located, the alt_sel is used to extract part of the information needed from the USASCIIEncoding.


boolean
  isAlpha char c;

Undocumented.


boolean
  isDigit char c;

Return TRUE iff the character c is a digit according to the encoding of the receiving string.


boolean
  isLower char c;

Undocumented.


boolean
  isPunct char c;

Undocumented.


boolean
  isSpace char c;

Undocumented.


boolean
  isUpper char c;

Undocumented.


char
  toLower char c;

Undocumented.


char
  toTitle char c;

Undocumented.


char
  toUpper char c;

Undocumented.


int
  digitValue char c;

Undocumented.


int
  alphaValue char c;

Undocumented.

instance tom.Unicoding

inherits

Behaviour supers: All