Changeset 741 for java/installer2/src/net/oni2/aeinstaller/backend
- Timestamp:
- Mar 24, 2013, 5:09:44 PM (12 years ago)
- Location:
- java/installer2/src/net/oni2/aeinstaller/backend
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/depot/DepotManager.java
r708 r741 24 24 import net.oni2.aeinstaller.backend.depot.model.TaxonomyTerm; 25 25 import net.oni2.aeinstaller.backend.depot.model.TaxonomyVocabulary; 26 import net.oni2. aeinstaller.backend.network.FileDownloader;26 import net.oni2.httpfiledownloader.FileDownloader; 27 27 28 28 import org.apache.http.HttpResponse; … … 73 73 + (new Date().getTime() / 1000), zipName); 74 74 fd.start(); 75 while (fd.getState() != net.oni2.aeinstaller.backend.network.FileDownloader.EState.FINISHED) {75 while (fd.getState() != FileDownloader.EState.FINISHED) { 76 76 Thread.sleep(50); 77 77 } … … 318 318 } 319 319 320 /**321 * Print stats about nodes and files322 */323 public void printStats() {324 System.out.println("Nodes by type:");325 for (String t : nodesByType.keySet()) {326 System.out.println(" " + t + ": " + nodesByType.get(t).size());327 }328 329 System.out.println("Files: " + files.size());330 }331 332 320 private static XStream getXStream() { 333 321 XStream xs = new XStream(new StaxDriver()); -
java/installer2/src/net/oni2/aeinstaller/backend/packages/download/ModDownload.java
r648 r741 8 8 import net.oni2.aeinstaller.backend.Paths; 9 9 import net.oni2.aeinstaller.backend.packages.Package; 10 import net.oni2. aeinstaller.backend.network.FileDownloadListener;11 import net.oni2. aeinstaller.backend.network.FileDownloader;12 import net.oni2. aeinstaller.backend.network.FileDownloader.EState;10 import net.oni2.httpfiledownloader.FileDownloadListener; 11 import net.oni2.httpfiledownloader.FileDownloader; 12 import net.oni2.httpfiledownloader.FileDownloader.EState; 13 13 import net.oni2.aeinstaller.backend.packages.unpack.UnpackListener; 14 14 import net.oni2.aeinstaller.backend.packages.unpack.Unpacker;
Note:
See TracChangeset
for help on using the changeset viewer.