Examples of DownloadFilesActionListener


Examples of org.eobjects.datacleaner.actions.DownloadFilesActionListener

    String url = _baseUrl + extensionSwapPackage.getId() + "/jarfile";
    if (!StringUtils.isNullOrEmpty(username)) {
      url = url + "?username=" + username;
    }
    String filename = extensionSwapPackage.getId() + ".jar";
    DownloadFilesActionListener actionListener = new DownloadFilesActionListener(new String[] { url },
        new String[] { filename }, listener, _windowContext);
    actionListener.actionPerformed(null);
  }
View Full Code Here

Examples of org.eobjects.datacleaner.actions.DownloadFilesActionListener

  private boolean isUsed(String driverClassName) {
    return _usedDriverClassNames.contains(driverClassName);
  }

  private ActionListener createDownloadActionListener(final DatabaseDriverDescriptor dd) {
    return new DownloadFilesActionListener(dd.getDownloadUrls(), new FileDownloadListener() {
      @Override
      public void onFilesDownloaded(File[] files) {
        final String driverClassName = dd.getDriverClassName();

        logger.info("Registering and loading driver '{}' in files '{}'", driverClassName, files);
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.