Class ArchiveFileTree<IS extends org.apache.commons.compress.archivers.ArchiveInputStream,​E extends org.apache.commons.compress.archivers.ArchiveEntry>

  • All Implemented Interfaces:
    org.gradle.api.internal.file.collections.FileSystemMirroringFileTree, org.gradle.api.internal.file.collections.MinimalFileCollection, org.gradle.api.internal.file.collections.MinimalFileTree
    Direct Known Subclasses:
    ArFileTree, ArjFileTree, DumpFileTree, SevenZipFileTree

    public class ArchiveFileTree<IS extends org.apache.commons.compress.archivers.ArchiveInputStream,​E extends org.apache.commons.compress.archivers.ArchiveEntry>
    extends Object
    implements org.gradle.api.internal.file.collections.FileSystemMirroringFileTree
    See Also:
    ZipFileTree
    • Constructor Detail

      • ArchiveFileTree

        public ArchiveFileTree​(File archiveFile,
                               ArchiveInputStreamProvider<IS> inputStreamProvider,
                               File tmpDir,
                               org.gradle.internal.file.Chmod chmod,
                               org.gradle.api.internal.file.collections.DirectoryFileTreeFactory directoryFileTreeFactory,
                               org.gradle.internal.hash.FileHasher fileHasher)
    • Method Detail

      • getMirror

        public org.gradle.api.internal.file.collections.DirectoryFileTree getMirror()
        Specified by:
        getMirror in interface org.gradle.api.internal.file.collections.FileSystemMirroringFileTree
      • visit

        public void visit​(FileVisitor visitor)
        Specified by:
        visit in interface org.gradle.api.internal.file.collections.MinimalFileTree
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface org.gradle.api.internal.file.collections.MinimalFileCollection
      • registerWatchPoints

        public void registerWatchPoints​(org.gradle.api.internal.file.FileSystemSubset.Builder builder)
        Specified by:
        registerWatchPoints in interface org.gradle.api.internal.file.collections.MinimalFileTree
      • visitTreeOrBackingFile

        public void visitTreeOrBackingFile​(FileVisitor visitor)
        Specified by:
        visitTreeOrBackingFile in interface org.gradle.api.internal.file.collections.MinimalFileTree
        See Also:
        ZipFileTree.visitTreeOrBackingFile(FileVisitor)