public interface Hyphenation
hyphenation
.Modifier and Type | Method and Description |
---|---|
char |
getHyphen() |
int |
getHyphenation(int hyphenationIndex)
This method gets the index of the given hyphenation-point.
|
int |
getHyphenationBefore(int offset)
This method gets the greatest
hyphenation position that is less to the given
offset . |
int |
getHyphenationCount()
This method gets the number of hyphenation-points in the word.
|
String |
getWord()
This method gets the raw word to be hyphenated.
|
String |
toString()
The hyphenation of the according word (e.g.
|
int getHyphenationCount()
0
for "I" or "egg" or 1
for "im-pact").int getHyphenation(int hyphenationIndex)
hyphenationIndex
- is the index of the hyphenation-point in the range from 0
to
getHyphenationCount()
- 1
.word
.int getHyphenationBefore(int offset)
hyphenation position
that is less to the given
offset
.offset
- is the offset in the word
where a hyphenation is desired.hyphenation position
just before the given offset
or -1
if
there is no such position.String getWord()
char getHyphen()
Hyphenator.getHyphen()
Copyright © 2001–2016 mmm-Team. All rights reserved.