// Destroy old test file if it exists
File oldTestFile = new File("props3");
oldTestFile.delete();
// Save original
System.err.println("Saving..."); try (OutputStream out = new FileOutputStream("props3")) {
originalProps.storeToXML(out, comment, encoding);
}
// Load in the set
System.err.println("Loading..."); try (InputStream in = new FileInputStream("props3")) {
loadedProps.loadFromXML(in);
}
// Compare results if (!originalProps.equals(loadedProps)) thrownew RuntimeException("Properties load and save failed");
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.