public void startElement(String uri, String localName, String qName,
                             Attributes atts) throws SAXException {
      if ("entry".equals(localName)) {
        TitledURLEntry tue = null;
        String title = atts.getValue("title");
        String url = atts.getValue("url");
        String passiveFtp = atts.getValue("passiveFtp");

        if ((title != null) && (url != null)) {
          if (passiveFtp == null) {
            tue = new TitledURLEntry(title, url);
          } else {
            tue = new FTPURLEntry(title, url, Boolean.parseBoolean(passiveFtp));
          }
          entries.add(tue);
        }
      }
    }
Utility class to read bookmarks

@author Yves Zoundi <yveszoundi at users dot sf dot net>
@author Stan Love
@author Alex Arana <alex at arana.net.au>
@version 0.0.2
olv-vfs/src/main/java/net/sf/vfsjfilechooser/accessories/bookmarks/BookmarksReader.java