public class Hyphenator extends Object
| Constructor and Description |
|---|
Hyphenator(String lang,
String country,
int leftMin,
int rightMin) |
| Modifier and Type | Method and Description |
|---|---|
static HyphenationTree |
getFileHyphenationTree(String key) |
static HyphenationTree |
getHyphenationTree(String lang,
String country) |
static String |
getHyphenDir()
Getter for property hyphenDir.
|
static HyphenationTree |
getResourceHyphenationTree(String key) |
Hyphenation |
hyphenate(char[] word,
int offset,
int len) |
Hyphenation |
hyphenate(String word) |
static Hyphenation |
hyphenate(String lang,
String country,
char[] word,
int offset,
int len,
int leftMin,
int rightMin) |
static Hyphenation |
hyphenate(String lang,
String country,
String word,
int leftMin,
int rightMin) |
static void |
setHyphenDir(String _hyphenDir)
Setter for property hyphenDir.
|
void |
setLanguage(String lang,
String country) |
void |
setMinPushCharCount(int min) |
void |
setMinRemainCharCount(int min) |
public static HyphenationTree getHyphenationTree(String lang, String country)
lang - country - public static HyphenationTree getResourceHyphenationTree(String key)
key - public static HyphenationTree getFileHyphenationTree(String key)
key - public static Hyphenation hyphenate(String lang, String country, String word, int leftMin, int rightMin)
lang - country - word - leftMin - rightMin - public static Hyphenation hyphenate(String lang, String country, char[] word, int offset, int len, int leftMin, int rightMin)
lang - country - word - offset - len - leftMin - rightMin - public void setMinRemainCharCount(int min)
min - public void setMinPushCharCount(int min)
min - public Hyphenation hyphenate(char[] word, int offset, int len)
word - offset - len - public Hyphenation hyphenate(String word)
word - public static String getHyphenDir()
public static void setHyphenDir(String _hyphenDir)
_hyphenDir - New value of property hyphenDir.Copyright © 2019. All rights reserved.