Examples of save()


Examples of it.unimi.dsi.util.Properties.save()

      additionalProperties.setProperty( Index.PropertyKeys.SIZE, indexSize );
      additionalProperties.setProperty( Index.PropertyKeys.MAXDOCSIZE, maxDocSize );
      additionalProperties.setProperty( Index.PropertyKeys.OCCURRENCES, numberOfOccurrences );
      properties.addAll( additionalProperties );
      logger.debug( "Post-merge properties: " + new ConfigurationMap( properties ) );
      properties.save( outputBasename + DiskBasedIndex.PROPERTIES_EXTENSION );
    }
       
    final PrintStream stats = new PrintStream( new FileOutputStream ( outputBasename + DiskBasedIndex.STATS_EXTENSION ) );
    if ( ! metadataOnly ) indexWriter.printStats( stats );
    stats.close();
View Full Code Here

Examples of it.uniroma1.dptu.stan.model.area.AreaData.save()

    j.hasNext();
      )
    j.next().setId(new StringBuffer("o").append(id++).toString());

      // Salva l'area ed il suo contenuto
      deRoot.appendChild(area.save(doc));
  }

  // Salva le choose-from
  for(
      Iterator<ChooseFromData> i = setChooseFromDatas.iterator();
View Full Code Here

Examples of it.uniroma1.dptu.stan.model.column.wedge.WedgeData.save()

      Iterator<WedgeData> i = getWedges().iterator();
      i.hasNext();
  ) {
      WedgeData wedge = i.next();
      assert(wedge.getCoefficient() != 0.0 || wedge.getStdDev() != 0.0);
      eBase.appendChild(wedge.save(doc));
  }

  return(eBase);
    }
View Full Code Here

Examples of jMp3Tag.Tag.Save()

      if (text.getString().compareTo("") != 0) {
        t.setYear(text.getString());
        System.out.println("Year <= " + text.getString());
      }
      try {
        t.Save(true);
      } catch (IOException e) {
        e.printStackTrace();
      }
    }
  }
View Full Code Here

Examples of jadx.api.JadxDecompiler.save()

  static void processAndSave(JadxCLIArgs jadxArgs) throws JadxException {
    JadxDecompiler jadx = new JadxDecompiler(jadxArgs);
    jadx.setOutputDir(jadxArgs.getOutDir());
    jadx.loadFiles(jadxArgs.getInput());
    jadx.save();
    if (jadx.getErrorsCount() != 0) {
      jadx.printErrorsReport();
      LOG.error("finished with errors");
    } else {
      LOG.info("done");
View Full Code Here

Examples of jadx.core.codegen.CodeWriter.save()

    CodeWriter clsCode = cls.getCode();
    String fileName = cls.getClassInfo().getFullPath() + ".java";
    if (args.isFallbackMode()) {
      fileName += ".jadx";
    }
    clsCode.save(dir, fileName);
  }
}
View Full Code Here

Examples of java.util.Properties.save()

                        sb.append(" ");
                    }
                }
                props.put(k.trim(), sb.toString());
            }
            props.save(out, "aliases");
        } finally {
            try {
                out.close();
            } catch (Exception ignored) {
            }
View Full Code Here

Examples of javafx.scene.canvas.GraphicsContext.save()

     * {@code renderingInfo} attribute with the latest rendering
     * information.
     */
    public final void draw() {
        GraphicsContext ctx = getGraphicsContext2D();
        ctx.save();
        double width = getWidth();
        double height = getHeight();
        if (width > 0 && height > 0) {
            ctx.clearRect(0, 0, width, height);
            this.info = new ChartRenderingInfo();
View Full Code Here

Examples of javango.contrib.hibernate.HibernateManager.save()

      Poll p = new Poll();
      p.setQuestion("AdminTestQuestion : " + i );
      p.setPubDate(new Date());
      Manager dao = new HibernateManager(injector.getInstance(HibernateUtil.class), Poll.class);
   
      dao.save(p);
    }
    injector.getInstance(HibernateUtil.class).getSession().getTransaction().commit();
  }

  public void testAdminHomePage() throws Exception {
View Full Code Here

Examples of javango.db.Manager.save()

          form.clean(object);
          try {
            if (object_id == null) {
              manager.create(object);
            } else {
              manager.save(object);
            }
           
            if (request.getParameterMap().containsKey("_addanother")) {
              return new HttpResponseRedirect("../add");
            } else if (request.getParameterMap().containsKey("_continue")) {
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.