public Hashtable getDocumentDownloadHash(List ll) { Hashtable<String, String> ht = new Hashtable<String, String>(); try { Iterator ite = ll.iterator(); while (ite.hasNext()) { com.krawler.common.admin.Docmap cDocMap = (com.krawler.common.admin.Docmap) ite.next(); ht.put("relatedto", cDocMap.getRelatedto()); ht.put("recid", cDocMap.getRecid()); com.krawler.common.admin.Docs t = cDocMap.getDocid(); ht.put("docid", t.getDocid()); ht.put("Name", t.getDocname()); ht.put("Size", t.getDocsize()); ht.put("Type", t.getDoctype()); ht.put("svnname", t.getStorename()); ht.put("storeindex", String.valueOf(t.getStorageindex())); } } catch (Exception e) { System.out.println(e.getMessage()); } return ht; }