Examples of Exporter


Examples of com.sun.star.wizards.web.export.Exporter

    private Exporter getExporter(CGExporter export)
            throws ClassNotFoundException,
            IllegalAccessException,
            InstantiationException
    {
        Exporter exp = (Exporter) exporters.get(export);
        if (exp == null)
        {
            exp = createExporter(export);
            exporters.put(export, exp);
        }
View Full Code Here

Examples of de.willuhn.jameica.hbci.io.Exporter

    // Dialog schliessen
    final boolean open = ((Boolean)getOpenFile().getValue()).booleanValue();
    SETTINGS.setAttribute("open",open);
    close();

    final Exporter exporter = exp.exporter;
    final IOFormat format = exp.format;

    BackgroundTask t = new BackgroundTask() {
      public void run(ProgressMonitor monitor) throws ApplicationException
      {
        try
        {
          // Der Exporter schliesst den OutputStream selbst
          OutputStream os = new BufferedOutputStream(new FileOutputStream(file));
          exporter.doExport(objects,format,os,monitor);
          monitor.setPercentComplete(100);
          monitor.setStatus(ProgressMonitor.STATUS_DONE);
          GUI.getStatusBar().setSuccessText(i18n.tr("Daten exportiert nach {0}",s));
          monitor.setStatusText(i18n.tr("Daten exportiert nach {0}",s));
         
View Full Code Here

Examples of it.eng.spagobi.engines.qbe.query.Exporter

  }
 
  public void designTableInWorksheet(Sheet sheet,Workbook wb, CreationHelper createHelper,
        IDataStore dataStore) throws SerializationException, JSONException{
   
    Exporter exp = new Exporter(dataStore);
    exp.fillSheet(sheet, wb, createHelper);
  }
View Full Code Here

Examples of net.azib.ipscan.exporters.Exporter

      fileDialog.setFilterNames(descriptions.toArray(new String[descriptions.size()]));

      String fileName = fileDialog.open();
      if (fileName == null) return;

      Exporter exporter = exporterRegistry.createExporter(fileName);

      statusBar.setStatusText(Labels.getLabel("state.exporting"));

      // TODO: expose appending feature in the GUI
      ExportProcessor exportProcessor = new ExportProcessor(exporter, new File(fileName), false);
View Full Code Here

Examples of net.jini.export.Exporter

        " is invalid." + rstUtil.getFailureReason();
    throw new TestException(message);
      }

      // create yet another RemoteEventListener
      Exporter exp = null;
      RememberingRemoteListener newListener =
    new RememberingRemoteListener(getExporter());
      evReg =
    renewalSet[0].setExpirationWarningListener(newListener,
                 1, null);
View Full Code Here

Examples of net.jini.export.Exporter

    protected Object exportListener(RemoteEventListener listener)
  throws RemoteException
    {
  // wrap a configuration exception in a RemoteException to avoid having
  // to redefine the constructors for a million subclasses of BasicListener
  Exporter exporter = QAConfig.getDefaultExporter();
  Configuration c = config.getConfiguration();
  if (c instanceof com.sun.jini.qa.harness.QAConfiguration) {
      try {
    exporter = (Exporter) c.getEntry("test",
             "reggieListenerExporter",
             Exporter.class);
      } catch (ConfigurationException e) {
    throw new RemoteException("Configuration problem", e);
      }
  }
  listenerMap.put(listener, exporter);
  return exporter.export(listener);

    }
View Full Code Here

Examples of net.jini.export.Exporter

  return exporter.export(listener);

    }

    protected void unexportListener(RemoteEventListener l, boolean force) {
  Exporter exporter = (Exporter) listenerMap.get(l);
  if (exporter != null) {
      exporter.unexport(force);
      listenerMap.remove(l);
  }
    }
View Full Code Here

Examples of net.jini.export.Exporter

      throws RemoteException
        {
            super();
            this.regInfo = regInfo;
      Configuration c = getConfig().getConfiguration();
      Exporter exporter = QAConfig.getDefaultExporter();
      registrarPreparer = new BasicProxyPreparer();
      if (c instanceof com.sun.jini.qa.harness.QAConfiguration) {
    try {
        exporter = (Exporter) c.getEntry("test",
                 "fiddlerListenerExporter",
                 Exporter.class);
        registrarPreparer =
      (ProxyPreparer) c.getEntry("test",
               "reggiePreparer",
               ProxyPreparer.class);
    } catch (ConfigurationException e) {
        throw new RemoteException("Configuration error", e);
    }
      }
      proxy = exporter.export(this);
        }//end constructor
View Full Code Here

Examples of net.jini.export.Exporter

        /** Simple constructor */
        Listener(Configuration c,
     boolean throwRuntime) throws RemoteException
  {
      try {
    Exporter exporter = QAConfig.getDefaultExporter();
    if (c instanceof com.sun.jini.qa.harness.QAConfiguration) {
        exporter =
        (Exporter) c.getEntry("test", "outriggerListenerExporter", Exporter.class);
    }
    proxy = exporter.export(this);
      } catch (ConfigurationException e) {
    throw new RemoteException("Bad configuration", e);
      }
            this.throwRuntime = throwRuntime;
        }
View Full Code Here

Examples of net.jini.export.Exporter

     *         If an error occured while trying to export this object.
     */
    public NotifyCounter(Entry template, long leaseTime)
            throws RemoteException {
  Configuration c = getConfiguration();
  Exporter exporter = QAConfig.getDefaultExporter();
  if (c instanceof com.sun.jini.qa.harness.QAConfiguration) {
      try {
    exporter = (Exporter) c.getEntry("test",
             "outriggerListenerExporter",
             Exporter.class);
      } catch (ConfigurationException e) {
    throw new RemoteException("Configuration Error", e);
      }
  }
  proxy = exporter.export(this);
        maxEvNum = 0;
        this.template = template;
        this.leaseTime = leaseTime;
    }
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.