catch (UnsupportedEncodingException e) { e.printStackTrace();
catch (Exception e) { e.printStackTrace();
    public void update() {        if (directory == null)            directory = "";        try {            if (directory.length()==0)                reload("");            else                reload("directory=" + URLEncoder.encode(directory, "UTF-8"));        }        catch (UnsupportedEncodingException e) {            e.printStackTrace();  //To change body of catch statement use Options | File Templates.        }        Element e = null;        NodeList nodes = document.getElementsByTagName("applejuice");        e = (Element) nodes.item(0);        nodes = e.getChildNodes();        String name;        int nodesSize = nodes.getLength();        for (int i = 0; i < nodesSize; i++)        {            e = (Element) nodes.item(i);            name = e.getNodeName();            if (name.compareToIgnoreCase("filesystem")==0){                DirectoryDO.setSeparator(e.getAttribute("seperator"));            }            else if (name.compareToIgnoreCase("dir")==0){                getNodes(e, directoryNode);            }        }    }