code: private static List<URL> parsePaths(List<PathElement> paths, Bundle bundle) {
  		List<URL> pathList = new ArrayList<URL>();
  		for (PathElement path : paths) {
  			String name = path.getName();
  			if (name.endsWith("/")) {
  				// we have a directory
  				addEntries(bundle, name, "*.*", pathList);
  			} else {
  				// we have a file name
  				String baseName;
  				String filePattern;
  				int pos = name.lastIndexOf('/');
  				if (pos < 0) {
  					baseName = "/";
  					filePattern = name;
  				} else {
  					baseName = name.substring(0, pos + 1);
  					filePattern = name.substring(pos + 1);
  				}
  				if (hasWildcards(filePattern)) {
  					addEntries(bundle, baseName, filePattern, pathList);
  				} else {
  					pathList.add(bundle.getEntry(name));
  				}
  			}
  		}
  		return pathList;
  	}
docs: Takes the list of {@link PathElement}s and uses the bundle to find the
  URLs of those elements.
  
  @param paths
  @param bundle
  @return