* Create a new scanner.
* @return the created scanner.
*/
protected ArchiveScanner newArchiveScanner() {
CommonsCompressArchiveScanner cs =
new CommonsCompressArchiveScanner(new CpioStreamFactory(),
new CommonsCompressArchiveScanner.ResourceBuilder() {
public Resource buildResource(Resource archive, String encoding,
ArchiveEntry entry) {
return new CpioResource(archive, encoding, (CpioArchiveEntry) entry);
}