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 String word
private int len
public int length()
public String getPreHyphenText(int index)
public String getPostHyphenText(int index)
public int[] getHyphenationPoints()