/**
* Create a new scanner.
* @return the created scanner.
*/
protected ArchiveScanner newArchiveScanner() {
return new CommonsCompressArchiveScanner(new ArStreamFactory(),
new CommonsCompressArchiveScanner.ResourceBuilder() {
public Resource buildResource(Resource archive, String encoding,
ArchiveEntry entry) {
return new ArResource(archive, (ArArchiveEntry) entry);
}