Multivalent API

phelps.lang
Class Characters

java.lang.Object
  extended by phelps.lang.Characters

public class Characters
extends java.lang.Object

Extensions to Character.

Version:
$Revision: 1.4 $ $Date: 2003/10/01 13:21:29 $

Method Summary
static java.lang.String getName(int codepoint)
          Returns Unicode name of codepoint.
static boolean isHexDigit(int ch)
          Returns true iff ch is in [0-9a-fA-F].
static java.lang.String strType(int type)
          Returns two-character string type of java.lang.Character#getType().
static java.lang.String strTypeFull(int type)
          Returns type of java.lang.Character#getType() in words.
static java.lang.String toUTF8(int codepoint)
           
static java.lang.Character valueOf(char ch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isHexDigit

public static boolean isHexDigit(int ch)
Returns true iff ch is in [0-9a-fA-F].


valueOf

public static java.lang.Character valueOf(char ch)

strType

public static java.lang.String strType(int type)
Returns two-character string type of java.lang.Character#getType().


strTypeFull

public static java.lang.String strTypeFull(int type)
Returns type of java.lang.Character#getType() in words.


getName

public static java.lang.String getName(int codepoint)
Returns Unicode name of codepoint. For example, A is LATIN CAPITAL LETTER A.


toUTF8

public static java.lang.String toUTF8(int codepoint)

Multivalent API