|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tvouriot.jcode.codes.CodeCompression | +--tvouriot.jcode.codes.Huffman
Classe implantant le code de compression de Huffman.
Constructor Summary | |
Huffman(javax.swing.text.JTextComponent t,
javax.swing.JProgressBar progress)
Constructeur |
Method Summary | |
void |
init(java.io.File f)
Initialisation du code à partir d'un fichier |
void |
init(javax.swing.text.JTextComponent textZone,
javax.swing.JProgressBar progress)
Initialisation du code à partir du texte d'un JTextComponent |
Methods inherited from class tvouriot.jcode.codes.CodeCompression |
coder, coder, decoder, decoder, getLgMoy, getTableChar, getTableCode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Huffman(javax.swing.text.JTextComponent t, javax.swing.JProgressBar progress)
progress
- barre de progressiont
- texte composant contenant le texte à compresserMethod Detail |
public void init(javax.swing.text.JTextComponent textZone, javax.swing.JProgressBar progress)
init
in class CodeCompression
textZone
- texte à traiterprogress
- barre de progressionpublic void init(java.io.File f)
init
in class CodeCompression
f
- fichier utilisé pour l'initialisation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |