Esempio n. 1
0
 /**
  * This function write a word gived in parameter to the end of the current file
  *
  * @param mot a word to write
  */
 public static void ecritureMot(String mot) {
   FichierR f = ouvrirDicoR();
   FichierW fi = ouvrirDicoW();
   if (f.equalsMots(mot)) {
     fi.introduireEspace();
     fi.ecrireString(mot);
   } else {
     System.out.println("Desole ce mot existe déjà dans le dictionnaire");
   }
 }