Changeset 741 for java


Ignore:
Timestamp:
Mar 24, 2013, 5:09:44 PM (12 years ago)
Author:
alloc
Message:

HTTP File Downloader lib - import

Location:
java
Files:
10 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/.classpath

    r737 r741  
    2525        <classpathentry combineaccessrules="false" kind="src" path="/SVNAccess"/>
    2626        <classpathentry kind="lib" path="/_ThirdPartyLibs/NaturalOrderComparator.jar"/>
     27        <classpathentry combineaccessrules="false" kind="src" path="/HTTPFileDownloader"/>
    2728        <classpathentry kind="output" path="bin"/>
    2829</classpath>
  • java/installer2/src/net/oni2/aeinstaller/DepotPackageCheck.java

    r662 r741  
    2323                System.out.println("\nReading done");
    2424                System.out.println();
    25                 DepotManager.getInstance().printStats();
    2625
    2726                System.out.println();
  • java/installer2/src/net/oni2/aeinstaller/backend/depot/DepotManager.java

    r708 r741  
    2424import net.oni2.aeinstaller.backend.depot.model.TaxonomyTerm;
    2525import net.oni2.aeinstaller.backend.depot.model.TaxonomyVocabulary;
    26 import net.oni2.aeinstaller.backend.network.FileDownloader;
     26import net.oni2.httpfiledownloader.FileDownloader;
    2727
    2828import org.apache.http.HttpResponse;
     
    7373                                        + (new Date().getTime() / 1000), zipName);
    7474                        fd.start();
    75                         while (fd.getState() != net.oni2.aeinstaller.backend.network.FileDownloader.EState.FINISHED) {
     75                        while (fd.getState() != FileDownloader.EState.FINISHED) {
    7676                                Thread.sleep(50);
    7777                        }
     
    318318        }
    319319
    320         /**
    321          * Print stats about nodes and files
    322          */
    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 
    332320        private static XStream getXStream() {
    333321                XStream xs = new XStream(new StaxDriver());
  • java/installer2/src/net/oni2/aeinstaller/backend/packages/download/ModDownload.java

    r648 r741  
    88import net.oni2.aeinstaller.backend.Paths;
    99import 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;
     10import net.oni2.httpfiledownloader.FileDownloadListener;
     11import net.oni2.httpfiledownloader.FileDownloader;
     12import net.oni2.httpfiledownloader.FileDownloader.EState;
    1313import net.oni2.aeinstaller.backend.packages.unpack.UnpackListener;
    1414import net.oni2.aeinstaller.backend.packages.unpack.Unpacker;
  • java/installer2/src/net/oni2/aeinstaller/gui/about/AboutDialog.properties

    r738 r741  
    55
    66panAE=AE Credits:
    7 AENames=<html>Alloc:<br>Geyser:<br>Gumby:<br>Iritscen:<br>Loser:<br>Neo:<br>Paradox:<br>RossyMiles:<br>s10k:<br>Sfeli:<br>SSG:</html>
    8 AEWork=<html>AE Installer 2<br>Original creator of the Edition<br>Modular AE framework, AE Installer 1<br>Project management, Mac support<br>Documenting Oni's game data<br>OniSplit, documenting Oni<br>Documenting Oni's game data<br>Daodan DLL port to C<br>xmlTools<br>Original Daodan DLL<br>Documenting Oni's game data</html>
     7AENames=<html>Alloc:<br>Geyser:<br>Gumby:<br>Iritscen:<br>Loser:<br>Neo:<br>Paradox:<br>RossyMiles:<br>s10k:<br>Samer:<br>Sfeli:<br>SSG:</html>
     8AEWork=<html>AE Installer 2<br>Original creator of the Edition<br>Modular AE framework, AE Installer 1<br>Project management, Mac support<br>Documenting Oni's game data<br>OniSplit, documenting Oni<br>Documenting Oni's game data<br>Daodan DLL port to C<br>xmlTools<br>Testing and package support<br>Original Daodan DLL<br>Documenting Oni's game data</html>
    99
    1010panLinks=Links:
Note: See TracChangeset for help on using the changeset viewer.