public void getNewCalls(boolean deleteFritzBoxCallerList) throws WrongPasswordException, IOException {  if (JFritz.getFritzBox().checkValidFirmware()) {  Debug.msg("box.address: " + JFritz.getFritzBox().getAddress()); Debug.msg("box.port: " + JFritz.getFritzBox().getPort()); Debug.msg("box.password: " + JFritz.getFritzBox().getPassword()); Debug.msg("box.firmware: " + JFritz.getFritzBox().getFirmware().getFirmwareVersion() + " " + JFritz.getFritzBox().getFirmware().getLanguage());  boolean newEntries = JFritz.getFritzBox().retrieveCSVList();   if ((JFritz.getProperty("option.notifyOnCalls", "true") .equals("true")) && newEntries) { JFritz.getJframe().setVisible(true); JFritz.getJframe().toFront(); }  if ((newEntries && JFritz.getProperty("option.deleteAfterFetch", "false").equals("true")) || deleteFritzBoxCallerList) { JFritz.getFritzBox().clearListOnFritzBox(); }   if (newEntries && JFritzUtils.parseBoolean(JFritz.getProperty( "option.createBackupAfterFetch", "false"))) { doBackup(); } } }
public void getNewCalls() throws WrongPasswordException, IOException { getNewCalls(false); }
	public void getNewCalls(boolean deleteFritzBoxCallerList)			throws WrongPasswordException, IOException {		if (JFritz.getFritzBox().checkValidFirmware()) {			Debug.msg("box.address: " + JFritz.getFritzBox().getAddress());			Debug.msg("box.port: " + JFritz.getFritzBox().getPort());			Debug.msg("box.password: " + JFritz.getFritzBox().getPassword());			Debug.msg("box.firmware: "					+ JFritz.getFritzBox().getFirmware().getFirmwareVersion() + " "					+ JFritz.getFritzBox().getFirmware().getLanguage());			boolean newEntries = JFritz.getFritzBox().retrieveCSVList();						// Notify user?			if ((JFritz.getProperty("option.notifyOnCalls", "true")					.equals("true"))					&& newEntries) {				JFritz.getJframe().setVisible(true);				JFritz.getJframe().toFront();			}			if ((newEntries && JFritz.getProperty("option.deleteAfterFetch",					"false").equals("true"))					|| deleteFritzBoxCallerList) {				JFritz.getFritzBox().clearListOnFritzBox(); 			}			// Make back-up after fetching the caller list?			if (newEntries					&& JFritzUtils.parseBoolean(JFritz.getProperty(							"option.createBackupAfterFetch", "false"))) {				doBackup();			}		}	}