Class SimpleBidiReorderer

  • All Implemented Interfaces:
    BidiReorderer

    public class SimpleBidiReorderer
    extends java.lang.Object
    implements BidiReorderer
    Returns text unchanged.
    • 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
    • Constructor Detail

      • SimpleBidiReorderer

        public SimpleBidiReorderer()
    • 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: