com.lowagie.text.pdf.hyphenation
public class Hyphenator extends Object
Field Summary | |
---|---|
static String | defaultHyphLocation |
static String | hyphenDir Holds value of property hyphenDir. |
HyphenationTree | hyphenTree |
static Hashtable | hyphenTrees TODO: Don't use statics |
int | pushCharCount |
int | remainCharCount |
Constructor Summary | |
---|---|
Hyphenator(String lang, String country, int leftMin, int rightMin) |
Method Summary | |
---|---|
static HyphenationTree | getFileHyphenationTree(String key) |
static HyphenationTree | getHyphenationTree(String lang, String country) |
static String | getHyphenDir() Getter for property hyphenDir. |
static HyphenationTree | getResourceHyphenationTree(String key) |
static Hyphenation | hyphenate(String lang, String country, String word, int leftMin, int rightMin) |
static Hyphenation | hyphenate(String lang, String country, char[] word, int offset, int len, int leftMin, int rightMin) |
Hyphenation | hyphenate(char[] word, int offset, int len) |
Hyphenation | hyphenate(String word) |
static void | setHyphenDir(String _hyphenDir) Setter for property hyphenDir. |
void | setLanguage(String lang, String country) |
void | setMinPushCharCount(int min) |
void | setMinRemainCharCount(int min) |
Parameters: lang country leftMin rightMin
Parameters: key
Returns: a hyphenation tree
Parameters: lang country
Returns: the hyphenation tree
Returns: Value of property hyphenDir.
Parameters: key
Returns: a hyphenation tree
Parameters: lang country word leftMin rightMin
Returns: a hyphenation object
Parameters: lang country word offset len leftMin rightMin
Returns: a hyphenation object
Parameters: word offset len
Returns: a hyphenation object
Parameters: word
Returns: a hyphenation object
Parameters: _hyphenDir New value of property hyphenDir.
Parameters: lang country
Parameters: min
Parameters: min