non leggi il path del file :
codice:else if(args.length == 1){ //AGGIUNTO filePath=args[0]; try{ Wini ini = new Wini(new File(filePath)); for(String sectionname : ini.keySet()){ Ini.Section section = ini.get(sectionname); for(String option : section.keySet()){ System.out.println(option + " = " + section.fetch(option)); } } }catch(Exception e){ e.printStackTrace(); } }

Rispondi quotando