Package org.deri.grefine.reconcile

Examples of org.deri.grefine.reconcile.ServiceRegistry


  //TODO ... ugly, isn't it?
  static public synchronized void initialize(File workingDir) throws JSONException, IOException{
    if(singleton==null){
      InputStream prefixesIn = GRefineServiceManager.class.getResourceAsStream("/files/prefixes");
      PrefixManager prefixManager = new PrefixManager(prefixesIn);
      singleton = new GRefineServiceManager(new ServiceRegistry(new GRefineJsonUtilitiesImpl(),prefixManager), workingDir);
      File servicesFile= new File(workingDir,"services");
      if(servicesFile.exists()){
        FileInputStream in = new FileInputStream(servicesFile);
        singleton.registry.loadFromFile(in);       
      }
View Full Code Here

TOP

Related Classes of org.deri.grefine.reconcile.ServiceRegistry

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.