Exemple #1
0
 /**
  * updates the map for a given language
  *
  * @throws IOException
  * @throws FileNotFoundException
  */
 public boolean update(String language, Map<String, String> map) throws IOException {
   language = language.toLowerCase();
   Lexicon1Lang langLex = languageToLexicon.get(language);
   if (langLex == null) {
     langLex = new Lexicon1Lang();
     languageToLexicon.put(language, langLex);
   }
   langLex.setRawQueryMap(map);
   return true;
 }