Package org.eobjects.datacleaner.actions

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


  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

Related Classes of org.eobjects.datacleaner.actions.DownloadFilesActionListener

Copyright © 2018 www.massapicom. 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.