public void saveRemote(ConnectionSettings remote) throws InvalidPasswordException { setAttributeByTagName(new String[] {"options", "remote", "host"} , remote.getHost()); ApplejuiceFassade.setPassword(remote.getNewPassword()); setAttributeByTagName(new String[] {"options", "remote", "passwort"} , remote.getNewPassword()); setAttributeByTagName(new String[] {"options", "remote", "port"} , Integer.toString(remote.getXmlPort())); informConnectionSettingsListener(getRemoteSettings()); }
public void saveRemote(ConnectionSettings remote) throws InvalidPasswordException { propertyHandler.put("options_remote_host", remote.getHost()); ApplejuiceFassade.setPassword(remote.getNewPassword()); propertyHandler.put("options_remote_passwort", remote.getNewPassword()); propertyHandler.put("options_remote_port", remote.getXmlPort()); informConnectionSettingsListener(getRemoteSettings()); }
    public void saveRemote(ConnectionSettings remote) throws        InvalidPasswordException {        setAttributeByTagName(new String[] {"options", "remote", "host"}                              , remote.getHost());        ApplejuiceFassade.setPassword(remote.getNewPassword());        setAttributeByTagName(new String[] {"options", "remote", "passwort"}                              ,                              remote.getNewPassword());        setAttributeByTagName(new String[] {"options", "remote", "port"}                              ,                              Integer.toString(remote.getXmlPort()));        informConnectionSettingsListener(getRemoteSettings());    }