|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.language.hyphenation.base.BaseHyphenationTable
de.dante.extex.language.hyphenation.liang.LiangsHyphenationTable
de.dante.extex.language.hyphenation.liang.CompressedLiangsHyphenationTable
This class implements Liang's algorithm for hyphenation with a compressed hyphenation tree. Th hyphenation tree is compressed when the object is serialized. Afterwards no more patterns can be added.
Field Summary | |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
Constructor Summary | |
CompressedLiangsHyphenationTable()
|
Method Summary | |
protected void |
writeObject(java.io.ObjectOutputStream out)
This method compresses the table upon dumping. |
Methods inherited from class de.dante.extex.language.hyphenation.liang.LiangsHyphenationTable |
addPattern, dump, getPatterns, hyphenate, hyphenateOne, isCompressed, setCompressed |
Methods inherited from class de.dante.extex.language.hyphenation.base.BaseHyphenationTable |
addHyphenation, createHyphenation, findWord, getLeftHyphenmin, getLigature, getName, getRightHyphenmin, insertLigatures, insertShy, isHyphenActive, normalize, readResolve, setHyphenActive, setLeftHyphenmin, setLigatureBuilder, setName, setRightHyphenmin, setWordTokenizer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final long serialVersionUID
Constructor Detail |
public CompressedLiangsHyphenationTable()
Method Detail |
protected void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
out
- the output stream
java.io.IOException
- in case of an IO error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |