AndroidCharacter
public
class
AndroidCharacter
extends Object
| java.lang.Object | |
| ↳ | android.text.AndroidCharacter |
This class was deprecated
in API level 26.
Use various methods from UCharacter, instead.
AndroidCharacter exposes some character properties that used to be not easily accessed from java.lang.Character, but are now available in ICU.
Summary
Constants | |
|---|---|
int |
EAST_ASIAN_WIDTH_AMBIGUOUS
|
int |
EAST_ASIAN_WIDTH_FULL_WIDTH
|
int |
EAST_ASIAN_WIDTH_HALF_WIDTH
|
int |
EAST_ASIAN_WIDTH_NARROW
|
int |
EAST_ASIAN_WIDTH_NEUTRAL
|
int |
EAST_ASIAN_WIDTH_WIDE
|
Public constructors | |
|---|---|
AndroidCharacter()
|
|
Public methods | |
|---|---|
static
void
|
getDirectionalities(char[] src, byte[] dest, int count)
Fill in the first |
static
int
|
getEastAsianWidth(char input)
Calculate the East Asian Width of a character according to Unicode TR#11. |
static
void
|
getEastAsianWidths(char[] src, int start, int count, byte[] dest)
Fill the first |
static
char
|
getMirror(char ch)
Return the right-to-left mirror (or the original char if none) of the specified char. |
static
boolean
|
mirror(char[] text, int start, int count)
Replace the specified slice of |