*/
static public void changeConfigurations(Vector configs) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for (int i = 0; i < configs.size(); i++) {
Configuration config = (Configuration) configs.elementAt(i);
config.read();
Parameter[] params = config.getConfigurableParameters();
readParameters(params, config);
if (config.localConfigExists()) {
System.out.println("\nWARNING: Local configuration already exists!");
System.out.print("Do you want to overwrite (y/N)? ");
try {
String value = br.readLine();
if (value.equals("y")) {
config.writeLocal();
} else {
System.out.println("Local configuration has NOT been overwritten.");
}
} catch (Exception e) {
System.err.println(e.getMessage());
}
} else {
config.writeLocal();
}
}
}