OK boys, we're going in. Revamped the resource manager now that it doesn't

handle downloading of resources, it simply manages them in situ. Getdown
is now responsible for all the downloading.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3060 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-07-14 14:06:46 +00:00
parent c7223a89e1
commit 0e853085d5
9 changed files with 192 additions and 1666 deletions
@@ -1,5 +1,5 @@
//
// $Id: ResourceBundle.java,v 1.29 2004/07/13 16:37:40 mdb Exp $
// $Id: ResourceBundle.java,v 1.30 2004/07/14 14:06:46 mdb Exp $
package com.threerings.resource;
@@ -49,9 +49,7 @@ public class ResourceBundle
{
_source = source;
if (unpack) {
String root = ResourceManager.unversionPath(
source.getPath(), ".jar");
root = stripSuffix(root);
String root = stripSuffix(source.getPath());
_unpacked = new File(root + ".stamp");
_cache = new File(root);
}