Package net.atthegate.server.service.pdf
Class Bidi
java.lang.Object
net.atthegate.server.service.pdf.Bidi
Provides BIDI processing for Arabic and Hebrew.
Please see Example_27.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isArabic
(char ch) static String
reorderVisually
(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.
-
Constructor Details
-
Bidi
public Bidi()
-
-
Method Details
-
reorderVisually
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)
-