Class Hyphenator

java.lang.Object
com.aowagie.text.pdf.hyphenation.Hyphenator

public class Hyphenator extends Object
This class is the main entry point to the hyphenation package. You can use only the static methods or create an instance.
Author:
Carlos Villegas <cav@uniscope.co.jp>
  • Constructor Details

    • Hyphenator

      public Hyphenator(String lang, String country, int leftMin, int rightMin)
      Parameters:
      lang - language to set
      country - country to set
      leftMin - left minimum to set
      rightMin - right minimum to set
  • Method Details

    • setMinRemainCharCount

      public void setMinRemainCharCount(int min)
      Parameters:
      min - minimum to set
    • setMinPushCharCount

      public void setMinPushCharCount(int min)
      Parameters:
      min - minimum to set
    • hyphenate

      public Hyphenation hyphenate(String word)
      Parameters:
      word - word to set
      Returns:
      a hyphenation object