* Scans zip archives for resources.
*/
public class ZipScanner extends CommonsCompressArchiveScanner {
public ZipScanner() {
super(new ZipStreamFactory(),
new CommonsCompressArchiveScanner.ResourceBuilder() {
public Resource buildResource(Resource archive, String encoding,
ArchiveEntry entry) {
return new ZipResource(archive, encoding,
(ZipArchiveEntry) entry);