Aloha Leute,
- ich habe im meinem Intellij Explorer so eine Datei Gradle: org.controlsfx:controlsfx:8.40.12 -> da drin ist sehe Bilder und zu viel mehr. die frage ist kann ich das mit den Properties aus dem 2 Bild übersetzen und sie anpassen oder was hat das für ein Sinn.
- oder ist die Idee bescheuert? dann so
Java:stateManager.setPersistenceMode(StateManager.PersistenceMode.USER); try { input = new FileInputStream( stateManager.getProperty("Language").orElse("").toString().trim()+".properties"); // load a properties file prop.load(input); // get the property value and print it out System.out.println(prop.getProperty("database")); System.out.println(prop.getProperty("dbuser")); System.out.println(prop.getProperty("dbpassword")); } catch (IOException ex) { ex.printStackTrace(); } finally { if (input != null) { try { input.close(); } catch (IOException e) { e.printStackTrace(); } } }