Android
android.text
public class

android.text.AndroidCharacter

java.lang.Object
android.text.AndroidCharacter

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.
Methods inherited from class java.lang.Object

Details

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56