com.pdfjet
Class Bidi

java.lang.Object
  extended by com.pdfjet.Bidi

public class Bidi
extends java.lang.Object

Provides BIDI processing for Arabic and Hebrew. Please see Example_27.


Constructor Summary
Bidi()
           
 
Method Summary
static boolean isArabic(char ch)
           
static java.lang.String reorderVisually(java.lang.String str)
          Reorders the string so that Arabic and Hebrew text flows from right to left while numbers and Latin text flows from left to right.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bidi

public Bidi()
Method Detail

reorderVisually

public static java.lang.String reorderVisually(java.lang.String str)
Reorders the string so that Arabic and Hebrew text flows from right to left while numbers and Latin text flows from left to right.

Parameters:
str - the input string.
Returns:
the reordered string.

isArabic

public static boolean isArabic(char ch)