Class ICUBidiReorderer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) com.ibm.icu.text.ArabicShaping deshaper  
      (package private) com.ibm.icu.text.ArabicShaping shaper  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String deshapeText​(java.lang.String text)
      Deshape text, for use if the shaped character is not in a font.
      boolean isLiveImplementation()
      Useful for optimization.
      java.lang.String reorderRTLTextToLTR​(java.lang.String text)  
      java.lang.String shapeText​(java.lang.String text)
      Arabic character shapes depends on whether a character is at the start, end or middle of a word.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • shaper

        com.ibm.icu.text.ArabicShaping shaper
      • deshaper

        com.ibm.icu.text.ArabicShaping deshaper
    • Constructor Detail

      • ICUBidiReorderer

        public ICUBidiReorderer()
    • Method Detail

      • shapeText

        public java.lang.String shapeText​(java.lang.String text)
        Description copied from interface: BidiReorderer
        Arabic character shapes depends on whether a character is at the start, end or middle of a word. This algorithm aims to change the characters depending on their context.
        Specified by:
        shapeText in interface BidiReorderer
        Returns:
      • deshapeText

        public java.lang.String deshapeText​(java.lang.String text)
        Description copied from interface: BidiReorderer
        Deshape text, for use if the shaped character is not in a font.
        Specified by:
        deshapeText in interface BidiReorderer
        Returns: