|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDictionnaire
public class Dictionnaire
Class used for the decoding process.
Constructor Summary | |
---|---|
Dictionnaire()
The constructor used for creating the dictionary initially. |
Method Summary | |
---|---|
static void |
ajouteMot(java.lang.String m)
adds a word to the dictionary. |
static int |
lireEntier(java.io.FileInputStream fichier,
int n)
This method is used during decoding for reading a sequence of 0 and 1's in a FileInputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dictionnaire()
Method Detail |
---|
public static void ajouteMot(java.lang.String m)
m
- the word which is added to the dictionarypublic static int lireEntier(java.io.FileInputStream fichier, int n) throws java.io.IOException
fichier
- the FileInputStream which is read by the decoding process.n
- the number of bits which is read in the FileInputStream.
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |