public class HyphenLineBreaker extends LineBreaker
HYPHEN
Constructor and Description |
---|
HyphenLineBreaker(HyphenPattern pattern) |
Modifier and Type | Method and Description |
---|---|
static LineBreaker |
getInstance(HyphenPattern hyphenationPattern) |
int |
nearestLineBreak(char[] text,
int start,
int end,
int limit) |
getPosition, isHyphen, isLetter, isPunktuation
public HyphenLineBreaker(HyphenPattern pattern)
public static LineBreaker getInstance(HyphenPattern hyphenationPattern)
public int nearestLineBreak(char[] text, int start, int end, int limit)
nearestLineBreak
in class LineBreaker