public class

AndroidCharacter

extends Object
java.lang.Object
   ↳ android.text.AndroidCharacter

Class Overview

AndroidCharacter exposes some character properties that are not easily accessed from java.lang.Character.

Summary

Public Constructors
AndroidCharacter()
Public Methods
static void getDirectionalities(char[] src, byte[] dest, int count)
Fill in the first count bytes of dest with the directionalities from the first count chars of src.
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 text with the chars' right-to-left mirrors (if any), returning true if any replacements were made.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AndroidCharacter ()

Public Methods

public static void getDirectionalities (char[] src, byte[] dest, int count)

Fill in the first count bytes of dest with the directionalities from the first count chars of src. This is just like Character.getDirectionality() except it is a batch operation.

public static char getMirror (char ch)

Return the right-to-left mirror (or the original char if none) of the specified char.

public static boolean mirror (char[] text, int start, int count)

Replace the specified slice of text with the chars' right-to-left mirrors (if any), returning true if any replacements were made.