Package org.apache.tools.ant.types
Class ZipScanner
java.lang.Object
org.apache.tools.ant.DirectoryScanner
org.apache.tools.ant.types.ArchiveScanner
org.apache.tools.ant.types.ZipScanner
- All Implemented Interfaces:
- FileScanner,- ResourceFactory,- SelectorScanner
Scans zip archives for resources.
- 
Field SummaryFields inherited from class org.apache.tools.ant.types.ArchiveScannersrcFileFields inherited from class org.apache.tools.ant.DirectoryScannerbasedir, DEFAULTEXCLUDES, dirsDeselected, dirsExcluded, dirsIncluded, dirsNotIncluded, DOES_NOT_EXIST_POSTFIX, errorOnMissingDir, everythingIncluded, excludes, filesDeselected, filesExcluded, filesIncluded, filesNotIncluded, haveSlowResults, includes, isCaseSensitive, MAX_LEVELS_OF_SYMLINKS, selectors
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidfillMapsFromArchive(Resource src, String encoding, Map<String, Resource> fileEntries, Map<String, Resource> matchFileEntries, Map<String, Resource> dirEntries, Map<String, Resource> matchDirEntries) Fills the file and directory maps with resources read from the archive.Methods inherited from class org.apache.tools.ant.types.ArchiveScannergetIncludedDirectories, getIncludedDirsCount, getIncludedFiles, getIncludedFilesCount, getResource, init, match, scan, setEncoding, setErrorOnMissingArchive, setSrc, setSrc, trimSeparatorMethods inherited from class org.apache.tools.ant.DirectoryScanneraddDefaultExclude, addDefaultExcludes, addExcludes, clearResults, couldHoldIncluded, getBasedir, getDefaultExcludes, getDeselectedDirectories, getDeselectedFiles, getExcludedDirectories, getExcludedFiles, getNotFollowedSymlinks, getNotIncludedDirectories, getNotIncludedFiles, isCaseSensitive, isEverythingIncluded, isExcluded, isFollowSymlinks, isIncluded, isSelected, match, match, matchPath, matchPath, matchPatternStart, matchPatternStart, removeDefaultExclude, resetDefaultExcludes, scandir, setBasedir, setBasedir, setCaseSensitive, setErrorOnMissingDir, setExcludes, setFollowSymlinks, setIncludes, setMaxLevelsOfSymlinks, setSelectors, slowScan
- 
Constructor Details- 
ZipScannerpublic ZipScanner()
 
- 
- 
Method Details- 
fillMapsFromArchiveprotected void fillMapsFromArchive(Resource src, String encoding, Map<String, Resource> fileEntries, Map<String, Resource> matchFileEntries, Map<String, Resource> dirEntries, Map<String, Resource> matchDirEntries) Fills the file and directory maps with resources read from the archive.- Specified by:
- fillMapsFromArchivein class- ArchiveScanner
- 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.
 
 
-