853 |
* loaded |
* loaded |
854 |
* @return a Class object representing the found class |
* @return a Class object representing the found class |
855 |
*/ |
*/ |
856 |
protected Class findClass(final String className) |
protected Class<?> findClass(final String className) |
857 |
throws ClassNotFoundException |
throws ClassNotFoundException |
858 |
{ |
{ |
859 |
// Just try to find the resource by the (almost) same name |
// Just try to find the resource by the (almost) same name |
1073 |
* @exception IOException when an error occurs accessing one of the |
* @exception IOException when an error occurs accessing one of the |
1074 |
* locations |
* locations |
1075 |
*/ |
*/ |
1076 |
public Enumeration findResources(String resourceName) |
public Enumeration<URL> findResources(String resourceName) |
1077 |
throws IOException |
throws IOException |
1078 |
{ |
{ |
1079 |
Vector resources = new Vector(); |
Vector<URL> resources = new Vector<URL>(); |
1080 |
int max = urlinfos.size(); |
int max = urlinfos.size(); |
1081 |
for (int i = 0; i < max; i++) |
for (int i = 0; i < max; i++) |
1082 |
{ |
{ |