Package org.eobjects.datacleaner.actions

Examples of org.eobjects.datacleaner.actions.FileDownloadListener


    final int version = Integer.parseInt(HttpXmlUtils.getChildNodeText(rootNode, "version"));
    return new ExtensionSwapPackage(id, version, name);
  }

  public void registerExtensionPackage(final ExtensionSwapPackage extensionSwapPackage, final String username) {
    downloadJarFile(extensionSwapPackage, username, new FileDownloadListener() {
      @Override
      public void onFilesDownloaded(File[] files) {
        File jarFile = files[0];
        registerExtensionPackage(extensionSwapPackage, jarFile);
      }
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.FileDownloadListener

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.