parameters += "&Port=" + Long.toString(ajSettings.getPort());
    public boolean saveAJSettings(AJSettings ajSettings) {        try{            String parameters = "";            try            {                parameters = "Nickname=" +                        URLEncoder.encode(ajSettings.getNick(), "UTF-8");                parameters += "&XMLPort=" + Long.toString(ajSettings.getXMLPort());                parameters += "&MaxUpload=" + Long.toString(ajSettings.getMaxUpload());                parameters += "&MaxDownload=" + Long.toString(ajSettings.getMaxDownload());                parameters += "&Speedperslot=" +                        Integer.toString(ajSettings.getSpeedPerSlot());                parameters += "&Incomingdirectory=" +                        URLEncoder.encode(ajSettings.getIncomingDir(), "UTF-8");                parameters += "&Temporarydirectory=" +                        URLEncoder.encode(ajSettings.getTempDir(), "UTF-8");                parameters += "&maxconnections=" +                        URLEncoder.encode(Long.toString(ajSettings.getMaxConnections()), "UTF-8");                parameters += "&autoconnect=" +                        URLEncoder.encode(new Boolean(ajSettings.isAutoConnect()).toString(), "UTF-8");                parameters += "&maxnewconnectionsperturn=" +                        URLEncoder.encode(Long.toString(ajSettings.getMaxNewConnectionsPerTurn()), "UTF-8");            }            catch (UnsupportedEncodingException ex1)            {                if (logger.isEnabledFor(Level.ERROR))                    logger.error("Unbehandelte Exception", ex1);            }            try            {                String password = PropertiesManager.getOptionsManager().getRemoteSettings().getOldPassword();                HtmlLoader.getHtmlXMLContent(getHost(), HtmlLoader.GET,                                                      "/function/setsettings?password=" + password + "&" + parameters, false);            }            catch (WebSiteNotFoundException ex)            {                return false;            }            return true;        }        catch (Exception e)        {            if (logger.isEnabledFor(Level.ERROR))                logger.error("Unbehandelte Exception", e);            return false;        }    }