public Enumeration<URL> findEntries( final String path, final String glob, final boolean recurse ) { return new ResourceEnumeration( path, glob, recurse, getClassPath() ); }
@SuppressWarnings( "unchecked" ) public synchronized Enumeration<URL> findEntries( final String path, final String glob, final boolean recurse ) { if ( null == classPath ) { classPath = getBundleClassPath( bundle ); } final Enumeration<URL> entries = bundle.findEntries( null != path ? path : "/", glob, recurse ); if ( classPath.length > 0 ) { return new ChainedEnumeration<URL>( entries, new ResourceEnumeration( path, glob, recurse, classPath ) ); } return null != entries ? entries : NO_ENTRIES; }