static Bundle main;
static MutableIndexed units_path;
pointer load String object;
object
, returning the underlying operating system handle
upon success, or the NULL pointer upon failure. An error
is signaled
in case of the latter.
void load Array arguments;
String locate-file String file extension String ext with-version: String version = nil;
instance (id) main;
void registerUnitDirectory String dir;
dir
as to contain resources for one of the units.
public String directory;
pointer handle;
id (self) init String d;
String locate-file String file extension String ext with-version: String version = nil;
file
for the version
in this bundle. If not found,
search the main bundle. Iff still not found, it is searched for in
the registered unit directories.
The extension ext
, if not nil
, is appended to the file
, with a
dot (.
) in between.