Interface LanguageProcessor

All Known Implementing Classes:
ArabicLigaturizer, DevanagariLigaturizer, GujaratiLigaturizer, HebrewProcessor, IndicLigaturizer

public interface LanguageProcessor
Interface that needs to be implemented by classes that process bytes representing text in specific languages. Processing involves changing order to Right to Left and/or applying ligatures.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates if the rundirection is right-to-left.
    Processes a String
  • Method Details

    • process

      String process(String s)
      Processes a String
      Parameters:
      s - the original String
      Returns:
      the processed String
    • isRTL

      boolean isRTL()
      Indicates if the rundirection is right-to-left.
      Returns:
      true if text needs to be rendered from right to left.