public class CommonsCompressArchiveScanner
extends org.apache.tools.ant.types.ArchiveScanner
| Modifier and Type | Class and Description |
|---|---|
static interface |
CommonsCompressArchiveScanner.ResourceBuilder |
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 and Description |
|---|
CommonsCompressArchiveScanner(ArchiveStreamFactory factory,
CommonsCompressArchiveScanner.ResourceBuilder builder) |
CommonsCompressArchiveScanner(ArchiveStreamFactory factory,
CommonsCompressArchiveScanner.ResourceBuilder builder,
boolean skipUnreadableEntries,
org.apache.tools.ant.Project project) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillMapsFromArchive(org.apache.tools.ant.types.Resource src,
java.lang.String encoding,
java.util.Map fileEntries,
java.util.Map matchFileEntries,
java.util.Map dirEntries,
java.util.Map matchDirEntries)
Fills the file and directory maps with resources read from the
archive.
|
boolean |
getSkipUnreadableEntries()
Whether to skip entries that Commons Compress signals it cannot read.
|
protected void |
log(java.lang.String msg) |
getIncludedDirectories, getIncludedDirsCount, getIncludedFiles, getIncludedFilesCount, getResource, init, match, scan, setEncoding, setErrorOnMissingArchive, setSrc, setSrc, trimSeparatoraddDefaultExclude, 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, slowScanpublic CommonsCompressArchiveScanner(ArchiveStreamFactory factory, CommonsCompressArchiveScanner.ResourceBuilder builder)
public CommonsCompressArchiveScanner(ArchiveStreamFactory factory, CommonsCompressArchiveScanner.ResourceBuilder builder, boolean skipUnreadableEntries, org.apache.tools.ant.Project project)
public boolean getSkipUnreadableEntries()
protected void fillMapsFromArchive(org.apache.tools.ant.types.Resource src,
java.lang.String encoding,
java.util.Map fileEntries,
java.util.Map matchFileEntries,
java.util.Map dirEntries,
java.util.Map matchDirEntries)
fillMapsFromArchive in class org.apache.tools.ant.types.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.protected final void log(java.lang.String msg)