Class SevenZipFileTree.SevenZArchiveEntryFileTreeElement
java.lang.Object
org.gradle.api.internal.file.AbstractFileTreeElement
io.freefair.gradle.plugins.compress.tree.AbstractArchiveFileTreeElement
io.freefair.gradle.plugins.compress.tree.SevenZipFileTree.SevenZArchiveEntryFileTreeElement
- All Implemented Interfaces:
Closeable
,AutoCloseable
,FileTreeElement
,FileVisitDetails
- Enclosing class:
- SevenZipFileTree
public class SevenZipFileTree.SevenZArchiveEntryFileTreeElement
extends AbstractArchiveFileTreeElement
-
Constructor Summary
ModifierConstructorDescriptionprotected
SevenZArchiveEntryFileTreeElement
(org.gradle.internal.file.Chmod chmod, File expandedDir, AtomicBoolean stopFlag) -
Method Summary
Methods inherited from class io.freefair.gradle.plugins.compress.tree.AbstractArchiveFileTreeElement
getFile, getRelativePath, getSize, isDirectory, safeEntryName, stopVisiting
Methods inherited from class org.gradle.api.internal.file.AbstractFileTreeElement
copyTo, copyTo, getChmod, getMode, getName, getPath, getPermissions, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.gradle.api.file.FileTreeElement
copyTo, copyTo, getFile, getMode, getName, getPath, getPermissions, getRelativePath, getSize, isDirectory
Methods inherited from interface org.gradle.api.file.FileVisitDetails
stopVisiting
-
Constructor Details
-
SevenZArchiveEntryFileTreeElement
protected SevenZArchiveEntryFileTreeElement(org.gradle.internal.file.Chmod chmod, File expandedDir, AtomicBoolean stopFlag)
-
-
Method Details
-
getLastModified
public long getLastModified()- Specified by:
getLastModified
in interfaceFileTreeElement
- Overrides:
getLastModified
in classAbstractArchiveFileTreeElement
-
getEntryName
Description copied from class:AbstractArchiveFileTreeElement
Returns unsafe name for the name of a file contained in the archive.- Specified by:
getEntryName
in classAbstractArchiveFileTreeElement
- See Also:
-
AbstractArchiveFileTreeElement.safeEntryName()
-
getDisplayName
- Specified by:
getDisplayName
in classorg.gradle.api.internal.file.AbstractFileTreeElement
-
open
- Specified by:
open
in interfaceFileTreeElement
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getArchiveInputStream
-
getArchiveEntry
Description copied from class:AbstractArchiveFileTreeElement
Returns the archive entry for this element.- Specified by:
getArchiveEntry
in classAbstractArchiveFileTreeElement
- Returns:
- the archive entry
-
isClosed
public boolean isClosed() -
isInputStreamUsed
public boolean isInputStreamUsed()
-