55 }
56 }
57 }
58
59 static VersionHelper getVersionHelper() {
60 return helper;
61 }
62
63 abstract ClassLoader getURLClassLoader(String[] url)
64 throws MalformedURLException;
65
66
67 static protected URL[] getUrlArray(String[] url) throws MalformedURLException {
68 URL[] urlArray = new URL[url.length];
69 for (int i = 0; i < urlArray.length; i++) {
70 urlArray[i] = new URL(url[i]);
71 }
72 return urlArray;
73 }
74
75 abstract Class loadClass(String className) throws ClassNotFoundException;
76
77 abstract Thread createThread(Runnable r);
78 }
|
55 }
56 }
57 }
58
59 static VersionHelper getVersionHelper() {
60 return helper;
61 }
62
63 abstract ClassLoader getURLClassLoader(String[] url)
64 throws MalformedURLException;
65
66
67 static protected URL[] getUrlArray(String[] url) throws MalformedURLException {
68 URL[] urlArray = new URL[url.length];
69 for (int i = 0; i < urlArray.length; i++) {
70 urlArray[i] = new URL(url[i]);
71 }
72 return urlArray;
73 }
74
75 abstract Class<?> loadClass(String className) throws ClassNotFoundException;
76
77 abstract Thread createThread(Runnable r);
78 }
|