|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Hyphenation
This is the interface for the result of a
hyphenation.
| Method Summary | |
|---|---|
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. un-avail-able). |
| Method Detail |
|---|
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()String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||