Examples of store()


Examples of org.shaitu.easyphoto.image.DecorativeImage.store()

    public void run() {
      try {
        //decorate image
        DecorativeImage image = ImageAction.decorateImage(vo);
        //store image to output file
        image.store(vo);
        imgDoneCount.incrementAndGet();
        logger.info(vo.getInputImageFile().getName() + " decorate Successful :`)");
        image = null;
        vo = null;
      } catch (Exception e) {
View Full Code Here

Examples of org.tomighty.resources.cache.Cache.store()

    canvas.fontSize((float) size.height * 0.58f);
    canvas.paintGradient(colors.background());
    canvas.drawBorder(colors.background().darker().darker().darker());
    canvas.drawCentralizedText(time.shortestString());

    cache.store(canvas.image(), iconName);

    return canvas.image();
  }

  private String iconNameFor(Time time) {
View Full Code Here

Examples of org.uberfire.java.nio.base.Properties.store()

                }
            }

            if ( hasContent ) {
                try {
                    properties.store( out );
                } catch ( final Exception e ) {
                    throw new IOException( e );
                }
            }
View Full Code Here

Examples of org.vmmagic.unboxed.Address.store()

                pagePtr = physAddr.toWord();
            }

            // There is currently no present page, so do the mapping
            entry = pagePtr.or(Word.fromIntZeroExtend(PF_DEFAULT));
            pdirEntryPtr.store(entry);

            if (debug) {
                Unsafe.debug("mapPage ");
                Unsafe.debug(entry);
                Unsafe.debug('\n');
View Full Code Here

Examples of org.xmlBlaster.contrib.replication.ReplicationWriter.store()

        
         sql = parser.parse(xml);
        
         ReplicationWriter writer = new ReplicationWriter();
         writer.init(info);
         writer.store(sql);
        
         // verify now,

         conn = pool.reserve();
         Statement st = conn.createStatement();
View Full Code Here

Examples of org.xmlBlaster.contrib.replication.TableToWatchInfo.store()

         TableToWatchInfo finalTableToWatch = new TableToWatchInfo(catalog, schema, tableName);
         finalTableToWatch.setActions(actions);
         finalTableToWatch.setTrigger(triggerName);
         finalTableToWatch.setDebug((int)debug);
         finalTableToWatch.setReplKey(tmp);
         finalTableToWatch.store(this.replPrefix, this.dbPool, conn);
        
         return true;
      }
      catch (Throwable ex) {
         conn = removeFromPool(conn, ROLLBACK_YES);
View Full Code Here

Examples of org.xmlBlaster.engine.persistence.MsgFileDumper.store()

         MsgUnitWrapper wrapper = entry.getMsgUnitWrapper();
         if (wrapper == null) {
            tmpList.add("NOT REFERENCED #" + i + " " + entry.getInfoWithoutMeat());
         }
         else {
            String fileName = dumper.store(wrapper);
            tmpList.add(fileName);
         }
      }

      return (String[])tmpList.toArray(new String[tmpList.size()]);
View Full Code Here

Examples of pt.webdetails.cpf.persistence.IPersistenceEngine.store()

    try {
      JSONObject json = new JSONObject( view );
      viewObj.fromJSON( json );
      viewObj.setUser( user );
      pe.store( viewObj );
    } catch ( JSONException e ) {
      logger.error( e );
      return RESULT_ERROR;
    }
    return RESULT_OK;
View Full Code Here

Examples of pt.webdetails.cpf.persistence.PersistenceEngine.store()

    try {
      JSONObject json = new JSONObject( view );
      viewObj.fromJSON( json );
      viewObj.setUser( user );
      PersistenceEngine pe = PersistenceEngine.getInstance();
      pe.store( viewObj );
    } catch ( JSONException e ) {
      logger.error( e );
      return RESULT_ERROR;
    }
    return RESULT_OK;
View Full Code Here

Examples of railo.runtime.config.ConfigWebAdmin.store()

      Mapping mapping;
      for(int i=0;i<mappings.length;i++){
        mapping=mappings[i];
        if(RestUtil.isMatch(pc,mapping,dir)){
          admin.removeRestMapping(mapping.getVirtual());
          admin.store();
        }
      }
    }
      catch (Exception e) {
      throw Caster.toPageException(e);
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.