public final Enumeration findResources(final String name)
			throws IOException {
		final CClassLoader loader = CClassLoader.getRootLoader();
		final List URLList = new ArrayList();

		try {
			CClassLoader.loadResources(loader, URLList, name);
		} finally {
			try {

			} catch (final Exception ignore) {
			}
		}

		try {
			final Enumeration eu = CClassLoader.getRootLoader().getParent()
					.getResources(name);
			while (eu.hasMoreElements()) {
				URLList.add(eu.nextElement());
			}
		} catch (final Throwable ignore) {
		}

		final Iterator it = URLList.iterator();

		return new Enumeration() {
			Iterator internalIt = it;

			public boolean hasMoreElements() {
				return this.internalIt.hasNext();
			} // end hasMoreElements()

			public Object nextElement() {
				return this.internalIt.next();
			} // end nextElement()
		} // end new
		;
	}
public final Enumeration findResources ( final String name ) throws IOException { final CClassLoader loader = CClassLoader . getRootLoader ( ) ; final List URLList = new ArrayList ( ) ; try { CClassLoader . loadResources ( loader , URLList , name ) ; } finally { try { } catch ( final Exception ignore ) { } } try { final Enumeration eu = CClassLoader . getRootLoader ( ) . getParent ( ) . getResources ( name ) ; while ( eu . hasMoreElements ( ) ) { URLList . add ( eu . nextElement ( ) ) ; } } catch ( final Throwable ignore ) { } final Iterator it = URLList . iterator ( ) ; return new Enumeration ( ) { Iterator internalIt = it ; public boolean hasMoreElements ( ) { return this . internalIt . hasNext ( ) ; } public Object nextElement ( ) { return this . internalIt . next ( ) ; } } ; }
/*
(non-Javadoc)

@see java.lang.ClassLoader#findResources(java.lang.String)