try { return pkg.getExportingBundle().getResources(name); } catch (IOException e) { return null; }
Vector resources = null; for (int i=0; i<pkgs.length; i++) { try { Enumeration results = pkgs[i].getExportingBundle().getResources(name); if (results != null) { if (resources == null) resources = new Vector(); while (results.hasMoreElements()) { Object url = results.nextElement(); if (!resources.contains(url)) resources.add(url); } } } catch (IOException e) {  } }  return resources == null ? null : resources.elements();
	public Enumeration loadResources(String name) {		ExportedPackage pkg = admin.getExportedPackage(BundleLoader.getPackageName(name));		if (pkg == null)			return null;		try {			return pkg.getExportingBundle().getResources(name);		} catch (IOException e) {			return null;		}	}