org.apache.tools.ant.types

Class TarScanner

public class TarScanner extends ArchiveScanner

Scans tar archives for resources.
Method Summary
protected voidfillMapsFromArchive(Resource src, String encoding, Map fileEntries, Map matchFileEntries, Map dirEntries, Map matchDirEntries)
Fills the file and directory maps with resources read from the archive.

Method Detail

fillMapsFromArchive

protected void fillMapsFromArchive(Resource src, String encoding, Map fileEntries, Map matchFileEntries, Map dirEntries, Map matchDirEntries)
Fills the file and directory maps with resources read from the archive.

Parameters: src the archive to scan. encoding encoding used to encode file names inside the archive. fileEntries Map (name to resource) of non-directory resources found inside the archive. matchFileEntries Map (name to resource) of non-directory resources found inside the archive that matched all include patterns and didn't match any exclude patterns. dirEntries Map (name to resource) of directory resources found inside the archive. matchDirEntries Map (name to resource) of directory resources found inside the archive that matched all include patterns and didn't match any exclude patterns.