|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.DirectoryScanner
org.apache.tools.ant.types.ArchiveScanner
org.apache.tools.ant.types.TarScanner
public class TarScanner
Scans tar archives for resources.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.types.ArchiveScanner |
|---|
srcFile |
| Fields inherited from class org.apache.tools.ant.DirectoryScanner |
|---|
basedir, 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 Summary | |
|---|---|
TarScanner()
|
|
| Method Summary | |
|---|---|
protected void |
fillMapsFromArchive(Resource src,
java.lang.String encoding,
java.util.Map<java.lang.String,Resource> fileEntries,
java.util.Map<java.lang.String,Resource> matchFileEntries,
java.util.Map<java.lang.String,Resource> dirEntries,
java.util.Map<java.lang.String,Resource> matchDirEntries)
Fills the file and directory maps with resources read from the archive. |
| Methods inherited from class org.apache.tools.ant.types.ArchiveScanner |
|---|
getIncludedDirectories, getIncludedDirsCount, getIncludedFiles, getIncludedFilesCount, getResource, init, match, scan, setEncoding, setErrorOnMissingArchive, setSrc, setSrc, trimSeparator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TarScanner()
| Method Detail |
|---|
protected void fillMapsFromArchive(Resource src,
java.lang.String encoding,
java.util.Map<java.lang.String,Resource> fileEntries,
java.util.Map<java.lang.String,Resource> matchFileEntries,
java.util.Map<java.lang.String,Resource> dirEntries,
java.util.Map<java.lang.String,Resource> matchDirEntries)
fillMapsFromArchive in class ArchiveScannersrc - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||