| | |
| | | Logger.getLogger(AppProperties.class.getName()).log(Level.INFO, fName); |
| | | InputStream in = null; |
| | | try { |
| | | // Einstellungen aus Datei lesen |
| | | //AppProperties einst = new AppProperties(); |
| | | File einstellungenDatei = new File(fName); |
| | | in = new FileInputStream(einstellungenDatei); |
| | | |
| | | //BufferedReader br = new BufferedReader(new InputStreamReader(in)); |
| | | //String line = br.readLine(); |
| | | //while(line != null) { |
| | | // System.out.println(line); |
| | | // line = br.readLine(); |
| | | //} |
| | | //br.close(); |
| | | |
| | | |
| | | load(in); |
| | | in.close(); |
| | | } catch (FileNotFoundException ex) { |
| | |
| | | Logger.getLogger(AppProperties.class.getName()).log(Level.SEVERE, null, ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |