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
Constructors Modifier Constructor Description protected
SevenZArchiveEntryFileTreeElement(org.gradle.internal.file.Chmod chmod, File expandedDir, AtomicBoolean stopFlag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
E
getArchiveEntry()
Returns the archive entry for this element.IS
getArchiveInputStream()
String
getDisplayName()
protected String
getEntryName()
Returns unsafe name for the name of a file contained in the archive.long
getLastModified()
boolean
isClosed()
boolean
isInputStreamUsed()
InputStream
open()
-
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 Detail
-
SevenZArchiveEntryFileTreeElement
protected SevenZArchiveEntryFileTreeElement(org.gradle.internal.file.Chmod chmod, File expandedDir, AtomicBoolean stopFlag)
-
-
Method Detail
-
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interfaceFileTreeElement
- Overrides:
getLastModified
in classAbstractArchiveFileTreeElement
-
getEntryName
protected String 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
public String getDisplayName()
- Specified by:
getDisplayName
in classorg.gradle.api.internal.file.AbstractFileTreeElement
-
open
public InputStream open()
- Specified by:
open
in interfaceFileTreeElement
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getArchiveInputStream
public IS getArchiveInputStream()
-
getArchiveEntry
public E 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()
-
-