Class IndicCompositeCharacterComparator

java.lang.Object
com.itextpdf.text.pdf.languages.IndicCompositeCharacterComparator
All Implemented Interfaces:
Comparator<String>

public class IndicCompositeCharacterComparator extends Object implements Comparator<String>

This works on CompositeCharacters or Juktakshar-s of Indian languages like Bangla, Hindi, etc. CompositeCharacters are single glyphs consisting of more than one characters.

This class works on these CompositeCharacters and places the Strings having higher number of Characters before the one with lower no. This is necessary to properly display the CompositeCharacters when they occur side by side.

  • Constructor Details

    • IndicCompositeCharacterComparator

      public IndicCompositeCharacterComparator()
  • Method Details