|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.id.pbw.hyfo.hyph.HyphenatorDisplay
public class HyphenatorDisplay
Static methods to display hyphenations from instances of HyphenatedWord
.
This class is designed as a testing mechanism.
Method Summary | |
---|---|
static String |
show_string_breakpoints(HyphenatedWord hyphenator)
Gets a string representing possible hyphenation breaks. |
static String |
show_string_hyphens(HyphenatedWord hyphenator)
Gets a string representing possible hyphenation breaks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String show_string_breakpoints(HyphenatedWord hyphenator)
If complex (re-spelling) hyphenation breaks occur, the replacment text will be displayed, with the break point marked by weight digit of the break point. If the word includes simple hyphenation points, the output string will contain the results of simple hyphenation replacement, concatenated with a slash ('/') and the results of the complex hyphenation. If not, the result string will contain only the results of complex hyphenation replacement.
Note that if the text being replaced after a complex break contains another complex breakpoint, that point will not be displayed.
hyphenator
- the HyphenatedWord
holding the hyphenatation data for a word_string.
public static String show_string_hyphens(HyphenatedWord hyphenator)
If complex (re-spelling) hyphenation breaks occur, the replacment text will be displayed, with the break point marked by a hyphen. If the word includes simple hyphenation points, the output string will contain the results of simple hyphenation replacement, concatenated with a slash ('/') and the results of the complex hyphenation. If not, the result string will contain only the results of complex hyphenation replacement.
Note that if the text being replaced after a complex break contains another complex breakpoint, that point will not be displayed.
hyphenator
- the HyphenatedWord
holding the hyphenatation data for a word.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |