Examples of save()


Examples of org.eclipse.wst.sse.core.internal.provisional.IStructuredModel.save()

      // format
      formatModel(structuredModel);

      // save model if needed
      if (!structuredModel.isSharedForEdit() && structuredModel.isSaveNeeded())
        structuredModel.save();
    }
    finally {
      // ensureClosed(outputStream, null);
      // release from model manager
      if (structuredModel != null) {
View Full Code Here

Examples of org.elasticsearch.hadoop.cfg.Settings.save()

            this.esSplit = esSplit;

            // initialize mapping/ scroll reader
            InitializationUtils.setValueReaderIfNotSet(settings, WritableValueReader.class, log);

            PartitionDefinition part = new PartitionDefinition(esSplit.nodeIp, esSplit.httpPort, esSplit.nodeName, esSplit.nodeId, esSplit.shardId, settings.save(), esSplit.mapping);
            PartitionReader partitionReader = RestService.createReader(settings, part, log);

            this.scrollReader = partitionReader.scrollReader;
            this.client = partitionReader.client;
            this.queryBuilder = partitionReader.queryBuilder;
View Full Code Here

Examples of org.encog.app.analyst.EncogAnalyst.save()

   
    wiz.wizard(url, analystFile, rawFile, false, AnalystFileFormat.DECPNT_COMMA);

    encog.executeTask("task-full");
   
    encog.save(analystFile);
   
    AnalystReport report = new AnalystReport(encog);
    report.produceReport(new File(dir,"report.html"));
  }
View Full Code Here

Examples of org.encog.app.generate.EncogCodeGeneration.save()

    EncogLogging.log(EncogLogging.LEVEL_DEBUG, "target language:" + targetLanguage.toString());
   
    EncogCodeGeneration code = new EncogCodeGeneration(targetLanguage);
    code.setEmbedData(embedData);
    code.generate(getAnalyst());   
    code.save(targetFile);
    return false;
  }

  /**
   * {@inheritDoc}
 
View Full Code Here

Examples of org.encog.workbench.frames.document.tree.ProjectEGFile.save()

        for (MLDataPair pair : trainingData) {
          hp.addPattern(pair.getInput());
        }
        if (EncogWorkBench.askQuestion("Hopfield",
            "Training done, save?")) {
          file.save();
        }
      } else if (method instanceof SOM) {
        ProjectEGFile file = (ProjectEGFile) dialog.getComboNetwork()
            .getSelectedValue();
        performSOM(file, trainingData);
View Full Code Here

Examples of org.encog.workbench.tabs.EncogCommonTab.save()

  public void performSave() {
    EncogCommonTab tab = this.owner.getTabManager()
        .getCurrentTab();
    if (tab != null) {
      tab.save();
    }

  }

  public void performDelete() {
View Full Code Here

Examples of org.ethereum.core.Wallet.save()

        wallet.importKey(cowKey.getPrivKeyBytes());
        wallet.importKey(catKey.getPrivKeyBytes());

        wallet.setHigh(4354);

        wallet.save();
    }

    @Test
    @Ignore
  public void testLoad1() throws TransformerException,
View Full Code Here

Examples of org.exist.security.Account.save()

           
            final Account account = securityManager.getAccount(username);
            account.setEnabled(enable);
           
            try {
                account.save(broker);
                return Sequence.EMPTY_SEQUENCE;
            } catch(final ConfigurationException ce) {
                throw new XPathException(ce.getMessage(), ce);
            } catch(final PermissionDeniedException pde) {
                throw new XPathException(pde.getMessage(), pde);
View Full Code Here

Examples of org.exist.security.Subject.save()

    }
   
    private void setAdminCredentials(DBBroker broker, String newCredentials) throws ConfigurationException, PermissionDeniedException {
      final Subject subject = broker.getSubject();
      subject.setPassword(newCredentials);
      subject.save(broker);
    }
}
View Full Code Here

Examples of org.exist.versioning.svn.internal.wc.admin.SVNLog.save()

        }
        if (!newEntryProperties.isEmpty()) {
            newEntryProperties.put(SVNLog.NAME_ATTR, name);
            log.addCommand(SVNLog.MODIFY_ENTRY, newEntryProperties, false);
        }
        log.save();
        dir.runLogs();
        return reverted;
    }

    private void setWCFormat(SVNAdminAreaInfo info, SVNAdminArea area, int format) throws SVNException {
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.