Package org.woped.config.metrics

Examples of org.woped.config.metrics.ConfigurationDocument.save()


        if(algorithmOrigin.get(metricID) == fileID) { 
          Algorithm algo = algorithmsMap.get(metricID);
          toBeSavedConfig.getConfiguration().getAlgorithms().addNewAlgorithm().set(algo);
        }
     
      toBeSavedConfig.save(new File(fileMap.get(fileID)), xmlOptions);
      confMap.put(fileID, toBeSavedConfig);
      LoggerManager.info(Constants.CONFIG_LOGGER,
          rb.getString("Exit.Config.SavingSuccess") + ": " + fileMap.get(fileID));
      return true;
    } catch (IOException e) {
View Full Code Here


            algorithmsMap.get(metricID));
      }
    }
   
    try {
      confDoc.save(exportFile);
    } catch (IOException e) {
      e.printStackTrace();
      return false;
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.