if (inputLine.hasArg("-file")) { try { os = new FileOutputStream(inputLine.getNextArgFor("-file")); hasFile = true; } catch (FileNotFoundException e) {
if (inputLine.hasArg("-file")) { try { is = new FileInputStream(inputLine.getNextArgFor("-file")); XMLMap map = new XMLMap(); map.fromXML(is); say("warning, could not find file at path \"" + inputLine.getNextArgFor("-file") + "\", " + e.getMessage());
String key = inputLine.getNextArgFor(KEY_FLAG); if (!keys.allKeys().contains(key)) { say("Sorry, but the key \"" + key + "\" is not a known key for this component.");