Provide access to the source file from which a resource bundle was

created.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1652 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-08-19 23:31:48 +00:00
parent 11d84452bb
commit a08d08850e
@@ -1,5 +1,5 @@
//
// $Id: ResourceBundle.java,v 1.3 2002/07/19 20:12:23 shaper Exp $
// $Id: ResourceBundle.java,v 1.4 2002/08/19 23:31:48 mdb Exp $
package com.threerings.resource;
@@ -27,6 +27,15 @@ public class ResourceBundle
_source = source;
}
/**
* Returns the {@link File} from which resources are fetched for this
* bundle.
*/
public File getSource ()
{
return _source;
}
/**
* Fetches the named resource from this bundle. The path should be
* specified as a relative, platform independent path (forward