Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## phelps.lang
Class Characters

    java.lang.Object
      phelps.lang.Characters

public class Characters
extends java.lang.Object

Extensions to `Character`.

- Unicode: `name`, `type as string`, `UTF-8 representation`
- `#isHexDigit(char)`

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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD