Package edu.stanford.smi.protegex.owl.repository.impl

Examples of edu.stanford.smi.protegex.owl.repository.impl.DatabaseRepository


            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");
View Full Code Here


            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");
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protegex.owl.repository.impl.DatabaseRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.