Class Bidi

java.lang.Object
net.atthegate.server.service.pdf.Bidi

public class Bidi extends Object
Provides BIDI processing for Arabic and Hebrew. Please see Example_27.
  • Constructor Details

    • Bidi

      public Bidi()
  • Method Details

    • reorderVisually

      public 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.
      Parameters:
      str - the input string.
      Returns:
      the reordered string.
    • isArabic

      public static boolean isArabic(char ch)