uploadDO.setLoaded(Double.parseDouble((String)userAttributes.get("loaded")));
    private void checkUploadMap(UploadDO uploadDO, Map userAttributes){        uploadDO.setShareFileID(Integer.parseInt((String)userAttributes.get("shareid")));        uploadDO.setStatus(Integer.parseInt((String)userAttributes.get("status")));        uploadDO.setDirectState(Integer.parseInt((String)userAttributes.get("directstate")));        uploadDO.setPrioritaet(Integer.parseInt((String)userAttributes.get("priority")));        uploadDO.setUploadFrom(Integer.parseInt((String)userAttributes.get("uploadfrom")));        uploadDO.setActualUploadPosition(Integer.parseInt((String)userAttributes.get("actualuploadposition")));        uploadDO.setUploadTo(Integer.parseInt((String)userAttributes.get("uploadto")));        uploadDO.setSpeed(Integer.parseInt((String)userAttributes.get("speed")));        uploadDO.setNick((String)userAttributes.get("nick"));        uploadDO.setLastConnection(Long.parseLong((String)userAttributes.get("lastconnection")));        String versionNr = (String)userAttributes.get("version");        int os = Integer.parseInt((String)userAttributes.get("operatingsystem"));        if (!versionNr.equals("0.0.0.0") && os != -1) {            Version version = new Version(versionNr, os);            uploadDO.setVersion(version);        }    }