Examples of DownloadManager


Examples of Manager.DownloadManager

        super(pluginInterface);
    }

    @Override
    public void run() {
        DownloadManager manager = new DownloadManager(_pluginInterface);
        manager.getSubTitleForAllCompletedMovies(true);
    }
View Full Code Here

Examples of ServiceManager.DownloadManager

    public static void main(String[] args) {
        ConfigManager configManager = new ConfigManager();
        LogManager logManager = new LogManager(configManager);
        FilesManager filesManager = new FilesManager(configManager);

        DownloadManager downloadManager = new DownloadManager(configManager, filesManager, logManager);
        downloadManager.downloadSubTitles();

        // TODO code application logic here
    }
View Full Code Here

Examples of com.ngt.jopenmetaverse.shared.cap.http.DownloadManager

    public AssetManager(GridClient client)
    {
        Client = client;
        Cache = new AssetCache(client);
        Texture = new TexturePipeline(client);
        HttpDownloads = new DownloadManager();

        //        // Transfer packets for downloading large assets
        //        // Client.network.RegisterCallback(PacketType.TransferInfo, TransferInfoHandler);
        Client.network.RegisterCallback(PacketType.TransferInfo, new EventObserver<PacketReceivedEventArgs>()
            {
View Full Code Here

Examples of frost.fileTransfer.download.DownloadManager

        }
    }

    public DownloadManager getDownloadManager() {
        if (downloadManager == null) {
            downloadManager = new DownloadManager();
        }
        return downloadManager;
    }
View Full Code Here

Examples of io.fabric8.agent.download.DownloadManager

        this.managedEtcs = new Properties(bundleContext.getDataFile("etc.properties"));
        this.downloadExecutor = createDownloadExecutor();

        MavenConfigurationImpl config = new MavenConfigurationImpl(new PropertiesPropertyResolver(System.getProperties()), "org.ops4j.pax.url.mvn");
        config.setSettings(new MavenSettingsImpl(config.getSettingsFileUrl(), config.useFallbackRepositories()));
        manager = new DownloadManager(config, getDownloadExecutor());
        fabricService = new ServiceTracker<FabricService, FabricService>(systemBundleContext, FabricService.class, new ServiceTrackerCustomizer<FabricService, FabricService>() {
            @Override
            public FabricService addingService(ServiceReference<FabricService> reference) {
                FabricService service = systemBundleContext.getService(reference);
                if (provisioningStatus != null) {
View Full Code Here

Examples of net.mzalewski.goblin.transfermanagers.DownloadManager

   * @param args
   */
  public static void main(String[] args) {
    //SplashScreen.show(appName, appVersion);
   
    DownloadManager dm = DownloadManager.getInstance();
   
/*
    GMail gmail = new GMail();
    boolean a = gmail.login("kapica.aga", "nupel1");
    MailHeader[] mhs = gmail.getMailList();
View Full Code Here

Examples of org.directwebremoting.extend.DownloadManager

            }

            Container container = WebContextFactory.get().getContainer();
            boolean preferDataUrlSchema = ContainerUtil.getBooleanSetting(container, "preferDataUrlSchema", false);

            DownloadManager downloadManager;
            if (preferDataUrlSchema && isDataUrlAvailable())
            {
                downloadManager = new DataUrlDownloadManager();
            }
            else
            {
                downloadManager = container.getBean(DownloadManager.class);
            }

            String url = downloadManager.addFileTransfer(transfer);
            return new NonNestedOutboundVariable(url);
        }
        catch (IOException ex)
        {
            throw new ConversionException(getClass(), ex);
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager

        }
        CategoryManager.addCategoryManagerListener(MyTorrentsView.this);
        globalManager.addListener(MyTorrentsView.this, false);
        DownloadManager[] dms = (DownloadManager[]) globalManager.getDownloadManagers().toArray(new DownloadManager[0]);
        for (int i = 0; i < dms.length; i++) {
          DownloadManager dm = dms[i];
          dm.addListener(MyTorrentsView.this);
          if (!isOurDownloadManager(dm)) {
            dms[i] = null;
          }
        }
        tv.addDataSources(dms);
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager

        }
      }
    });
    Object[] dms = globalManager.getDownloadManagers().toArray();
    for (int i = 0; i < dms.length; i++) {
      DownloadManager dm = (DownloadManager) dms[i];
      dm.removeListener(this);
    }
    if (currentCategory != null) {
      currentCategory.removeCategoryListener(this);
    }
    CategoryManager.removeCategoryManagerListener(this);
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager

          long ttlSize = 0;
          long ttlRSpeed = 0;
          long ttlSSpeed = 0;
          int count = 0;
          for (Iterator iter = dms.iterator(); iter.hasNext();) {
            DownloadManager dm = (DownloadManager) iter.next();

            if (!isInCategory(dm, currentCategory))
              continue;

            count++;
            if (dm.getState() == DownloadManager.STATE_DOWNLOADING
                || dm.getState() == DownloadManager.STATE_SEEDING)
              ttlActive++;
            ttlSize += dm.getSize();
            ttlRSpeed += dm.getStats().getDataReceiveRate();
            ttlSSpeed += dm.getStats().getDataSendRate();
          }

          String up_details = "";
          String down_details = "";
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.