Break the patching out into a separate phase, clean up the diff and old

jar files when we're done patching.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2741 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-08-05 07:03:34 +00:00
parent d773b9d723
commit 00b983ccf7
3 changed files with 44 additions and 10 deletions
@@ -1,5 +1,5 @@
//
// $Id: Downloader.java,v 1.1 2003/08/05 01:33:20 mdb Exp $
// $Id: Downloader.java,v 1.2 2003/08/05 07:03:34 mdb Exp $
package com.threerings.resource;
@@ -87,6 +87,17 @@ public abstract class Downloader
}
}
/**
* Called after the download phase has completed to allow patching or
* other post-download activities.
*/
public void postDownload (DownloadManager dmgr, DownloadObserver obs,
ProgressInfo pinfo)
throws IOException
{
// nothing to do by default
}
/**
* Downloads the content from the supplied URL connection into the
* specified destination file, informing the supplied download manager