public StaticWebResourceBundle(final ClassSpace space, final MimeSupport mimeSupport) {
for (Enumeration<URL> e = space.findEntries("static", "*", true); e.hasMoreElements();) {
final URL url = e.nextElement();
final String path = getPublishedPath(url);
if (path != null && !path.endsWith("/")) {
staticResources.add(new UrlWebResource(url, path, mimeSupport.guessMimeTypeFromPath(path)));
}
}
}