speed, prioritaet, directstate, lastConnection);
speed, prioritaet, directstate, lastConnection, loaded);
    private Object getUploadObject(NodeList nodes) {        Element e = null;        int shareId;        UploadDO upload = null;        int id;        int os;        String versionsNr = null;        Version version = null;        int prioritaet;        String nick = null;        String status = null;        long uploadFrom;        long uploadTo;        long actualUploadPos;        long lastConnection;        int speed;        int directstate;        e = (Element) nodes.item(0);        id = Integer.parseInt(e.getAttribute("id"));        shareId = Integer.parseInt(e.getAttribute("shareid"));        versionsNr = e.getAttribute("version");        if (versionsNr.compareToIgnoreCase("0.0.0.0") == 0) {            version = null;        }        else {            os = Integer.parseInt(e.getAttribute("operatingsystem"));            version = new Version(versionsNr, os);        }        prioritaet = Integer.parseInt(e.getAttribute("priority"));        nick = e.getAttribute("nick");        status = e.getAttribute("status");        uploadFrom = Long.parseLong(e.getAttribute("uploadfrom"));        uploadTo = Long.parseLong(e.getAttribute("uploadto"));        actualUploadPos = Long.parseLong(e.getAttribute("actualuploadposition"));        speed = Integer.parseInt(e.getAttribute("speed"));        directstate = Integer.parseInt(e.getAttribute("directstate"));        lastConnection = Long.parseLong(e.getAttribute("lastconnection"));        upload = new UploadDO(id, shareId, version, status, nick,                              uploadFrom, uploadTo, actualUploadPos,                              speed, prioritaet, directstate, lastConnection);        return upload;    }