private static void store(Properties prop, File properties)
throws IOException {
prop.store(new FileWriter(properties), "info");
}
private static void load(Properties prop, File properties)
throws IOException, FileNotFoundException {
prop.load(new FileReader(properties));
} |
|