Beispiel #1
0
 /**
  * does the same as the constructor
  *
  * @param language relative path. would be "help/en" currently
  */
 public void reInit(String language) {
   System.out.println("HelpLoader reloading...");
   if (this.language == null) {
     System.out.println(
         "language == null! Do you have an empty ~/.jasmin? Delete it!"
             + " And please tell us about this at [email protected]");
   } else if (this.language.equals(language)) {
     System.out.println("but the same language all over again? nope!");
     return;
   }
   helpcache.clear();
   this.language = language;
   this.helpcache = new Hashtable<>();
   init();
   System.out.println("... done\n");
 }