MCPcopy Create free account
hub / github.com/ReadyTalk/avian / find

Method find

classpath/java/util/ResourceBundle.java:50–63  ·  view source on GitHub ↗
(String name, ClassLoader loader,
                                     ResourceBundle parent)

Source from the content-addressed store, hash-verified

48 }
49
50 private static ResourceBundle find(String name, ClassLoader loader,
51 ResourceBundle parent)
52 throws Exception
53 {
54 try {
55 Class c = Class.forName(name, true, loader);
56 if (c.isAssignableFrom(ResourceBundle.class)) {
57 return (ResourceBundle) c.getConstructor().newInstance();
58 }
59 } catch (ClassNotFoundException ok) {
60 } catch (NoSuchMethodException ok) { }
61
62 return findProperties(name, loader, parent);
63 }
64
65 public static ResourceBundle getBundle(String name, Locale locale,
66 ClassLoader loader)

Callers 1

getBundleMethod · 0.95

Calls 5

forNameMethod · 0.95
isAssignableFromMethod · 0.95
getConstructorMethod · 0.95
findPropertiesMethod · 0.95
newInstanceMethod · 0.45

Tested by

no test coverage detected