public class Hyphenation extends Object
Modifier and Type | Field and Description |
---|---|
private int[] |
hyphenPoints |
private int |
len
number of hyphenation points in word
|
private String |
word |
Constructor and Description |
---|
Hyphenation(String word,
int[] points)
rawWord as made of alternating strings and
Hyphen
instances |
Modifier and Type | Method and Description |
---|---|
int[] |
getHyphenationPoints() |
String |
getPostHyphenText(int index) |
String |
getPreHyphenText(int index) |
int |
length() |
String |
toString() |
private int[] hyphenPoints
private int len
Hyphenation(String word, int[] points)
Hyphen
instancespublic int length()
public String getPreHyphenText(int index)
public String getPostHyphenText(int index)
public int[] getHyphenationPoints()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses