map.put("format","file");
}else if(r instanceof DatabaseRepository){
Pattern pt = Pattern.compile("Table (.*) of the .*");
Matcher mt = pt.matcher(location);
String table = (mt.matches())?mt.group(1).trim():location;
DatabaseRepository dr = (DatabaseRepository)r;
map.put("format","database");
map.put("driver",dr.getDriver());
map.put("url",dr.getUrl());
map.put("username",dr.getUser());
map.put("password",dr.getPassword());
map.put("location",table);
//}else if(r instanceof HTTPRepository){
}else{
map.put("location",uri);
map.put("format","url");