case FTP:
FtpLocation ftp = (FtpLocation) dl;
return KList.fromItems(ftp.getLogin(), ftp.getHost(), ftp.getHostPath(),
ftp.getFileFilter().getFilter(), ftp.getRenameFileTo().getFileName());
case HTTP:
HttpLocation http = (HttpLocation) dl;
return KList.fromItems(http.getUrl(), http.getLogin());
case LDAP:
LdapLocation ldap = (LdapLocation) dl;
return KList.fromItems(ldap.getLogin(), ldap.getBaseName(), ldap.getServer());
case Database:
DatabaseLocation db = (DatabaseLocation) dl;