Examples of DownloadManagerState


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

          TableRowCore row = (TableRowCore) target;
          Object dataSource = row.getDataSource(true);
          if (dataSource instanceof DownloadManager) {
            DownloadManager dm = (DownloadManager) dataSource;

            DownloadManagerState state = dm.getDownloadState();

            try {
              long add_time = new File(dm.getTorrentFileName()).lastModified();

              if (add_time >= 0) {
                state.setLongParameter(
                    DownloadManagerState.PARAM_DOWNLOAD_ADDED_TIME, add_time);
              }

            } catch (Throwable e) {
            }
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.