Wire up the magic so that data in resource bundles can be acquired via

URLs.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2449 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2003-04-24 07:23:47 +00:00
parent ea3adbb530
commit 5d6e746b88
2 changed files with 84 additions and 1 deletions
@@ -1,5 +1,5 @@
//
// $Id: ResourceManager.java,v 1.23 2003/02/12 18:11:33 mdb Exp $
// $Id: ResourceManager.java,v 1.24 2003/04/24 07:23:47 ray Exp $
package com.threerings.resource;
@@ -148,6 +148,10 @@ public class ResourceManager
// use the classloader that loaded us
_loader = getClass().getClassLoader();
// set up a URL handler so that things can be loaded via
// urls with the 'resource' protocol
Handler.registerHandler(this);
}
/**