Examples of open()


Examples of org.owasp.dependencycheck.data.cpe.CpeMemoryIndex.open()

        final CpeMemoryIndex cpe = CpeMemoryIndex.getInstance();
        final CveDB cve = new CveDB();

        try {
            cve.open();
            cpe.open(cve);
        } catch (IndexException ex) {
            throw new NoDataException(ex.getMessage(), ex);
        } catch (DatabaseException ex) {
            throw new NoDataException(ex.getMessage(), ex);
        } finally {
View Full Code Here

Examples of org.owasp.dependencycheck.data.nvdcve.CveDB.open()

    private void generateExternalReports(Engine engine, File outDirectory) {
        DatabaseProperties prop = null;
        CveDB cve = null;
        try {
            cve = new CveDB();
            cve.open();
            prop = cve.getDatabaseProperties();
        } catch (DatabaseException ex) {
            LOGGER.log(Level.FINE, "Unable to retrieve DB Properties", ex);
        } finally {
            if (cve != null) {
View Full Code Here

Examples of org.parosproxy.paros.db.Database.open()

            //log.info("opening session file " + file.getAbsolutePath());
            //WaitMessageDialog waitMessageDialog = View.getSingleton().getWaitMessageDialog("Loading session file.  Please wait ...");
          session.open(file, this);

        Database db = new Database();
        db.open(file.getAbsolutePath());
       
        Map <String, String> curMap = new HashMap<String,String>();
        Map <String, String> cmpMap = new HashMap<String,String>();
       
        // Load the 2 sessions into 2 maps
View Full Code Here

Examples of org.parosproxy.paros.model.Session.open()

          }
                model.getOptionsParam().setUserDirectory(chooser.getCurrentDirectory());
          Session session = model.getSession();
            log.info("opening session file " + file.getAbsolutePath());
            waitMessageDialog = view.getWaitMessageDialog("Loading session file.  Please wait ...");
          session.open(file, this);
          waitMessageDialog.setVisible(true);
      } catch (Exception e) {
          e.printStackTrace();
      }
      }
View Full Code Here

Examples of org.patika.mada.gui.ExperimentDataManagementDialog.open()

    if (type != null)
    {
      ExperimentDataManagementDialog dialog = new ExperimentDataManagementDialog(
        main, main.getExperimentDataManager(type));

      dialog.open();

      // We do not want to remember this the next time
      type = null;
    }
  }
View Full Code Here

Examples of org.patika.mada.gui.FetchFromGEODialog.open()

  }

  public void run()
  {
    FetchFromGEODialog dialog = new FetchFromGEODialog(main);
    dialog.open();

    String filename = null;

    if(dialog.isFetchPressed())
    {
View Full Code Here

Examples of org.pdf4j.saxon.event.Receiver.open()

        TinyBuilder builder = new TinyBuilder();
        Receiver receiver = builder;
        PipelineConfiguration pipe = controller.makePipelineConfiguration();
        pipe.setHostLanguage(getContainer().getHostLanguage());
        receiver.setPipelineConfiguration(pipe);
        receiver.open();
        receiver.startDocument(0);
        c2.changeOutputDestination(null, receiver, false, getHostLanguage(), Validation.PRESERVE, null);
        content.process(c2);
        receiver.endDocument();
        receiver.close();
View Full Code Here

Examples of org.pdf4j.saxon.event.SequenceOutputter.open()

            //c2.setOrigin(this);
            // Fork the output: one copy goes to a SequenceOutputter which remembers the contents for
            // use next time the variable is referenced; another copy goes to the current output destination.
            SequenceOutputter seq = controller.allocateSequenceOutputter(20);
            seq.setPipelineConfiguration(controller.makePipelineConfiguration());
            seq.open();
            TeeOutputter tee = new TeeOutputter(context.getReceiver(), seq);
            tee.setPipelineConfiguration(controller.makePipelineConfiguration());
            c2.setTemporaryReceiver(tee);

            expression.process(c2);
View Full Code Here

Examples of org.pdf4j.saxon.event.SequenceReceiver.open()

                Configuration.XSLT,
                validationAction,
                schemaType);
        SequenceReceiver out = c2.getReceiver();

        out.open();
        out.startDocument(0);
        content.process(c2);
        out.endDocument();
        out.close();
        if (resolver != null) {
View Full Code Here

Examples of org.pdf4j.saxon.event.TreeReceiver.open()

        try {
            Receiver out = destination.getReceiver(config);
            out.setPipelineConfiguration(config.makePipelineConfiguration());
            out = new NamespaceReducer(out);
            TreeReceiver tree = new TreeReceiver(out);
            tree.open();
            tree.startDocument(0);
            for (Iterator<XdmItem> it = value.iterator(); it.hasNext();) {
                XdmItem item = it.next();
                tree.append((Item)item.getUnderlyingValue(), 0, NodeInfo.ALL_NAMESPACES);
            }
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.